Is a container stack defined in docker-compose
.
it is a django application with a postgresql database backend, managed via gunicorn and served via nginx.
DO NOT expose the development environment to the internet! it uses default keys and passwords.
google_drive_credentials.json
in the credentials
directory to be able to load testdata from a google sheetdocker-compose build
docker-compose up
http://localhost:8080
with user:admin
password:admin
google_drive_credentials.json
in the credentials
directory to be able to load testdata from a google sheetdocker exec -it ulti-players_django_1 bash -c "python manage.py shell < ultimate_frisbee_management/utils/import_from_google_sheet.py"
This takes about 10 minutes. progress (loaded objects) should be visible in the webapp.
docker exec -it ulti-players_django_1 bash -c "pytest"
the results are available on the test instance. you can find test coverage reports at localhost:8080/tests/index.html
and test report under localhost:8080/tests/report.html
backend\ultimate_frisbee_management\scripts\clone_production_to_local_db.sh
backs up the production environment, copies it to the local filesystem, loads it into the local database and deletes all the backup files. with this you can create a copy of the production environment within minutes. Requires ssh access to the production host. ;D
The Mail account to send send mail verifications etc runs on the organisations gsuite account. this needs to allow less secure apps tu use the mail service. set it on https://myaccount.google.com/security for the db-ultimate account