fix: update achievements automatically (#1066)

This commit is contained in:
Oskar Sharipov 2023-04-17 19:00:40 +08:00 committed by GitHub
parent 9039fb9fd6
commit 41bfe2e09c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -33,11 +33,13 @@ docker-run-dev: ## Runs dev server in docker
python3 manage.py update_tags
python3 manage.py runserver 0.0.0.0:8000
docker-run-production: ## Runs production server in docker
python3 manage.py migrate
docker-run-production: docker-migrate docker-update-achievements
cp -r /app/frontend/static /tmp/
gunicorn club.asgi:application -w 7 -k uvicorn.workers.UvicornWorker --bind=0.0.0.0:8814 --capture-output --log-level debug --access-logfile - --error-logfile -
docker-update-achievements:
python3 manage.py update_achievements
help: ## Display this help
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) \
| sort \