added sleep instead of true containers in compose

This commit is contained in:
Yannic Kilcher
2022-12-29 00:38:12 +01:00
parent d9aeef0d7e
commit 0ee3196064
4 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# Backend Development Setup
In root directory, run `docker compose up backend-dev` to start a database. The default settings are already configured to connect to the database at `localhost:5432`.
In root directory, run `docker compose up backend-dev --build --attach-dependencies` to start a database. The default settings are already configured to connect to the database at `localhost:5432`.
Make sure you have all requirements installed. You can do this by running `pip install -r requirements.txt` inside the `backend` folder and `pip install -e .` inside the `oasst-shared` folder.
Then, run the backend using the `run-local.sh` script. This will start the backend server at `http://localhost:8080`.