Web App um Reparaturtermine zu vereinbaren.
This repository has been archived on 2026-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2023-04-25 14:17:59 +02:00
.github/workflows Workflow für Docs 2023-04-16 12:11:45 +02:00
.vscode Beschreibung des Projekts und der Daten 2023-04-16 11:18:44 +02:00
docs improve docs 2023-04-25 13:56:12 +02:00
rc_hip improve one time login security, remove utils 2023-04-25 14:17:59 +02:00
.gitignore email notifications, messages, device view 2023-04-20 20:52:24 +02:00
cspell.json implement user logins 2023-04-24 18:03:23 +02:00
Dockerfile serve media 2023-04-21 19:09:48 +02:00
env.example email notifications, messages, device view 2023-04-20 20:52:24 +02:00
LICENSE Initial commit 2023-04-16 10:03:37 +02:00
mkdocs.yml Beschreibung des Projekts und der Daten 2023-04-16 11:18:44 +02:00
nginx.default serve media 2023-04-21 19:09:48 +02:00
README.md LiveTest register device 2023-04-25 11:06:31 +02:00
RepApp.code-workspace improve field naming, add cspell config 2023-04-17 09:41:34 +02:00
requirements_dev.txt LiveTest register device 2023-04-25 11:06:31 +02:00
requirements_prod.txt Demo feedback 2023-04-23 21:26:39 +02:00
start_server.sh Docker image support for repapp 2023-04-17 20:57:55 +02:00

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 venv
  • source venv/bin/activate
  • cd rc_hip
  • python manage.py makemigrations
  • python manage.py migrate
  • python manage.py createsuperuser
  • python 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