mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-08-11 05:38:55 +08:00
added sleep instead of true containers in compose
This commit is contained in:
@@ -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`.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Frontend Development Setup
|
||||
|
||||
In root directory run `docker compose up frontend-dev --build` to start a database and the backend server.
|
||||
In root directory run `docker compose up frontend-dev --build --attach-dependencies` to start a database and the backend server.
|
||||
|
||||
Then, point your frontend at `http://localhost:8080` to start developing. During development, any API key will be accepted.
|
||||
|
||||
Reference in New Issue
Block a user