You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: wiki.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,16 +151,16 @@ then start building a software by ``python3 run.py`` and go to [Visualizer Websi
151
151
152
152
To run your ChatDev application with Docker Compose, simply:
153
153
154
-
1. Find the `.env.sample` file in the root directory of your ChatDev project.
155
-
2. Copy this file and rename it to `.env`.
156
-
3. Open the `.env` file with the text editor of your choice.
157
-
4. Replace `<Your OpenAI API Key>` with your actual OpenAI API key from OpenAI. Add other environment variables for local development as needed.
158
-
5. Initiate the application by running:
159
-
```commandline
154
+
1. In the project root, create a `.env` with your text editor.
155
+
2. Add `OPENAI_API_KEY=<Your OpenAI API Key>` and any other secrets.
156
+
3. Save the file. It's ignored by Git for your security.
157
+
4. Run the application with the specified command.
158
+
160
159
docker compose run --service-ports chatdev
161
160
```
162
161
This command will build the Docker image (if necessary) and start the container.
163
162
163
+
164
164
Any changes you make to the project files on your host machine will sync in real-time inside the container, thanks to the configured bind mount in `docker-compose.yml`.
0 commit comments