You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This Makefile aims to make daily admin tasks a bit easier by collecting
# all common commands here, with a simple built-in help system.
# On the command line, just type "make<space><tab>"
workers_status:
docker ps -a
restart_project_creation_worker:
docker compose up -d mapswipe_workers_creation
start_all_workers:
docker compose up -d postgres manager_dashboard nginx api mapswipe_workers_creation mapswipe_workers_stats mapswipe_workers_firebase_to_postgres
stop_all_workers:
docker compose stop
make_project_manager:
@echo "run with email=thing@domain.com to give PM rights"; docker compose run --rm mapswipe_workers_creation mapswipe_workers -v user-management --action=add-manager-rights --email=$(email)
remove_project_manager:
@echo "run with email=thing@domain.com to remove PM rights"; docker compose run --rm mapswipe_workers_creation mapswipe_workers -v user-management --action=remove-manager-right --email=$(email)
@echo "first update the .env file with the new api key and then run this script with tms_name=your_tms_provider_name to update API key"; docker compose run --rm mapswipe_workers_creation python python_scripts/change_tms_api_key_for_projects.py $(tms_name)
list_all_project_managers:
docker compose run --rm mapswipe_workers_creation python python_scripts/list_all_project_managers.py