diff --git a/z1/README.md b/z1/README.md index c3671ec..2af8866 100644 --- a/z1/README.md +++ b/z1/README.md @@ -18,6 +18,15 @@ It uses 2 containers: - The database container (PostgreSQL): there are 3 environment variables (user, password and database); a persistent volume (postgres_data) and it uses my_app_network as network. 5. Instructions for the deployment : --First, need +- First, you need to clone the repository and go on the project directory +- Second, you need to start the files with Docker-compose (docker-compose up -d --build) +It's now running! + +- For stopping the app but without losing the data, you need to do (docker-compose down) +- If you want to remove everyhting, add -v at the end (docker-composr down -v) 6. Instructions for accessing the app : +- Go to http://localhost:5000 so see the page +- And we can see that the database is connected if we go to :http://localhost:5000/db-test + +Thanks for reading! \ No newline at end of file