868 B
868 B
RepApp
Web App um Reparaturtermine zu vereinbaren.
For documentation see https://makes-hacks-hip.github.io/RepApp/.
Setup for development
- Clone repo
python -m venv venvsource venv/bin/activatecd rc_hippython manage.py makemigrationspython manage.py migratepython manage.py createsuperuserpython manage.py runserver
Build Docker image
- Build the image:
docker build -t repapp . - Run the image:
docker run --rm -d \
-p 127.0.0.1:8020:8020 \
--name repapp \
--env DJANGO_SUPERUSER_USERNAME=suba \
--env DJANGO_SUPERUSER_PASSWORD=ThePassword \
--env DJANGO_SUPERUSER_EMAIL=noreply@example.com \
repapp`
- Open
http://127.0.0.1:8020/in your browser
Run tests
Unit tests
Run python manage.py test
LiveServer Tests
Run python manage.py test repapp.live_tests.WorkflowTests