diff --git a/api/README.md b/api/README.md index 1973cb5..ea6171b 100644 --- a/api/README.md +++ b/api/README.md @@ -7,19 +7,11 @@ This project is developed using a GNU/Linux distribution. Make sure [docker]() and [python 3.12](https://www.makeuseof.com/install-python-ubuntu/) are installed. -From the project root directory, make sure the database service is running: +From the project root directory, make sure all services except api are running: ``` docker compose stop -docker compose up -d db -``` - -You should now have it running as `seeking-db`, run `docker compose ps` to double check. - -``` -$ docker compose ps -NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS -seeking-db postgres:14 "docker-entrypoint.s…" db 35 hours ago Up 2 hours 0.0.0.0:32768->5432/tcp +docker compose --profile no-api up -d ``` ### Install the requirements diff --git a/webui/README.md b/webui/README.md index 08359cb..5d28acf 100644 --- a/webui/README.md +++ b/webui/README.md @@ -16,7 +16,14 @@ Prerequisites: Will run the nextjs app in a development api. -Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. +Make sure the backend services are running by executing these commands from the project root: + +``` +docker compose down +docker compose --profile no-webui up -d +``` + +Once done, browse to [http://localhost:3000](http://localhost:3000). ## `npm run build`