Unified multiple Docker Compose files into one for easier usage

This commit is contained in:
croumegous
2022-12-28 13:00:53 +01:00
parent 43550f62d7
commit 64206895ff
9 changed files with 119 additions and 156 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# Backend Development Setup
Run `docker compose up` 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` 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`.