update readme to include the db_init and main

This commit is contained in:
Aaron Job
2023-09-10 04:32:39 +00:00
parent fc063fde06
commit 5848f6de3b

View File

@@ -70,6 +70,8 @@ All generated code will be stored in the folder `workspace` inside the folder na
3. run `docker compose build`. this will build a gpt-pilot container for you.
4. run `docker compose up`.
5. access web terminal on `port 7681`
6. `python db_init.py` (initialize the database)
7. `python main.py` (start GPT Pilot)
This will start two containers, one being a new image built by the `Dockerfile` and a postgres database. The new image also has (ttyd)[https://github.com/tsl0922/ttyd] installed so you can easily interact with gpt-pilot.