-
Make sure you have Docker installed on your system.
-
Clone this repository to your local machine or download the source code.
-
Open your terminal and navigate to the root directory of the app.
Run the following command in your terminal to build and run the Docker container in the background (detached mode) via docker compose:
docker compose up -d --build
Run the following command in your terminal to run the Docker container in the background (detached mode) via docker compose:
docker compose up -d
Open your browser and navigate to http://localhost:9000.
Run the following command in your terminal to stop the Docker container via docker compose:
docker compose down
Run the following command in your terminal to access the database via docker compose:
docker compose exec -ti db psql -U postgres -d profiles_db
Run the following command in your terminal to access the app container:
docker exec -it profiles-server /bin/sh