Skip to content

Commit aa5bde2

Browse files
Upd: Add routine to delete containers and volumes, add server addresses in README.md
Signed-off-by: George J Padayatti <george.padayatti@igrant.io>
1 parent 0d723ff commit aa5bde2

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

playground/Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ help:
66
@echo "------------------------------------------------------------------------"
77
@grep -E '^[0-9a-zA-Z_/%\-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
88

9+
destroy: ## Delete all containers and volumes
10+
@if [ -n "$$(docker container ls -aq)" ]; then \
11+
docker container rm -f $$(docker container ls -aq); \
12+
fi
13+
@if [ -n "$$(docker volume ls -q)" ]; then \
14+
docker volume rm $$(docker volume ls -q); \
15+
fi
16+
@echo "Destroyed all containers and volumes"
17+
918
run: ## Run the playground
1019
docker-compose up -d
1120

playground/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ This repository hosts docker compose files for setting up playground for Consent
1717
2. Execute `make down`. This stops the playground without deleting the data (volumes).
1818
3. Execute `make clean`. This stops the playground along with deleting the data (volumes).
1919

20+
Note: To delete any conflicting containers or volumes before running, execute `make destroy`. This will delete all the docker containers and volumes in your machine.
21+
22+
The servers are up and running. They are accessible at below addresses:
23+
24+
| Name | Server address |
25+
| ----------------- | -------------------------------- |
26+
| API | https://api.bb-consent.dev |
27+
| Admin dashboard | https://dashboard.bb-consent.dev |
28+
| Privacy dashboard | https://privacy.bb-consent.dev |
29+
2030
## Contributing
2131

2232
Feel free to improve the plugin and send us a pull request. If you find any problems, please create an issue in this repo.

0 commit comments

Comments
 (0)