Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 
 

49 Zeilen
1.3 KiB

  1. dev-docker-serve:
  2. docker-compose up web
  3. dev-docker-build-frontend:
  4. docker-compose up build_frontend
  5. backup-images:
  6. poetry run python manage.py dumpdata django_images > db-backup.django_images.json
  7. backup-all:
  8. poetry run python manage.py dumpdata > db-backup.all.json
  9. migrate:
  10. poetry run python manage.py migrate
  11. migrate-no-input:
  12. poetry run python manage.py migrate --noinput
  13. makemigrations:
  14. poetry run python manage.py makemigrations
  15. recover-all:
  16. poetry run python manage.py loaddata db-backup.all.json
  17. collect-static-no-input:
  18. poetry run python manage.py collectstatic --noinput
  19. bootstrap:
  20. make install
  21. make collect-static-no-input
  22. serve-gunicorn:
  23. poetry run gunicorn pinry.wsgi -b 0.0.0.0:8000 -w 4 --capture-output --timeout 30 --user www-data --group www-data
  24. serve:
  25. poetry run python manage.py runserver 0.0.0.0:8000
  26. export-requirements-dev:
  27. poetry export --dev -f requirements.txt -o requirements-dev.txt
  28. export-requirements:
  29. poetry export -f requirements.txt -o requirements.txt
  30. make export-requirements-dev
  31. install:
  32. poetry install
  33. test:
  34. poetry run python manage.py test
  35. test-in-ci:
  36. python manage.py test
  37. shell:
  38. poetry run python manage.py shell
  39. flake8:
  40. poetry run flake8
  41. flake8-in-ci:
  42. flake8
  43. docs-serve:
  44. poetry run mkdocs serve
  45. docs-build:
  46. poetry run mkdocs build
  47. docs-publish:
  48. poetry run mkdocs gh-deploy