diff --git a/README.md b/README.md index 1721270..3f1f24b 100644 --- a/README.md +++ b/README.md @@ -57,8 +57,20 @@ where `name_of_service` must correspond to one of the services present in the [* ### 4) (Optional) Load example data in Database In order to load the example data in the [**Examples**](Examples) folder, please run the following: ```bash -docker cp Examples/database_example.dump postgres:/database_example.dump -docker exec -it postgres bash +docker cp Examples/database_example.dump jurispros_postgres:/database_example.dump +docker exec -it jurispros_postgres bash pg_restore -d "$POSTGRES_DB_NAME" -U "$POSTGRES_USER" -C database_example.dump ``` -Finally, press `Ctrl`+`p` followed by `Ctrl`+`q` to exit the container without killing it. \ No newline at end of file +Finally, press `Ctrl`+`p` followed by `Ctrl`+`q` to exit the container without killing it. + + +## Usage +If you want to reload a docker with updated code, got into the repo, go a git pull, then return to DockerCompose folder, then run `dr `. All the service names are listed below: + +- customers_api +- embedding +- legifrance_api +- postgres +- website + +If you want to show all the containers within the jurispros project, go into the root folder and execute `dcl` command (it's an alias). \ No newline at end of file