# Conflicts:
#	README.md
This commit is contained in:
Nicholas Albion
2023-09-27 12:53:09 +10:00
3 changed files with 8 additions and 6 deletions

View File

@@ -8,6 +8,7 @@ You specify what kind of an app you want to build. Then, GPT Pilot asks clarifyi
<!-- TOC -->
* [🔌 Requirements](#-requirements)
* [🚦How to start using gpt-pilot?](#how-to-start-using-gpt-pilot)
* [🐳 How to start gpt-pilot in docker?](#-how-to-start-gpt-pilot-in-docker)
* [🧑‍💻️ Other arguments](#%EF%B8%8F-other-arguments)
* [🔎 Examples](#-examples)
* [Real-time chat app](#-real-time-chat-app)
@@ -75,8 +76,7 @@ All generated code will be stored in the folder `workspace` inside the folder na
**IMPORTANT: To run GPT Pilot, you need to have PostgreSQL set up on your machine**
<br>
# 🐳 How to start gpt-pilot in docker?
## 🐳 How to start gpt-pilot in docker?
1. `git clone https://github.com/Pythagora-io/gpt-pilot.git` (clone the repo)
2. Update the `docker-compose.yml` environment variables
3. run `docker compose build`. this will build a gpt-pilot container for you.
@@ -85,7 +85,7 @@ All generated code will be stored in the folder `workspace` inside the folder na
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.
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. Node is also installed on the image and port 3000 is exposed.
# 🧑‍💻️ CLI arguments