Skip to content
This repository was archived by the owner on Feb 10, 2026. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
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 <service_name>`. 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).