Web App um Reparaturtermine zu vereinbaren.
| .github/workflows | ||
| .vscode | ||
| bootstrap@803617e9c5 | ||
| docs | ||
| rc_hip | ||
| repapp | ||
| .gitignore | ||
| .gitmodules | ||
| cspell.json | ||
| Dockerfile | ||
| env.example | ||
| LICENSE | ||
| mkdocs.yml | ||
| nginx.default | ||
| README.md | ||
| RepApp.code-workspace | ||
| requirements_dev.txt | ||
| requirements_prod.txt | ||
| start_server.sh | ||
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