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-09-02 17:25:51 +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
bootstrap@803617e9c5 add custom bootstrap 2023-04-27 15:31:05 +02:00
docs docs for test coverage 2023-08-30 21:47:34 +02:00
rc_hip fix device question 2023-06-18 18:05:07 +02:00
repapp live tests for email interface 2023-09-02 17:25:51 +02:00
.gitignore email interface without tests 2023-08-30 21:19:36 +02:00
.gitmodules add custom bootstrap 2023-04-27 15:31:05 +02:00
cspell.json tests for email_interface forms 2023-08-31 15:21:38 +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 rework started: one-time-login 2023-08-29 13:08:35 +02:00
nginx.default serve media 2023-04-21 19:09:48 +02:00
README.md docs for test coverage 2023-08-30 21:47:34 +02:00
RepApp.code-workspace improve field naming, add cspell config 2023-04-17 09:41:34 +02:00
requirements_dev.txt coverage, debug toolbar only for debug 2023-08-30 21:40:41 +02:00
requirements_prod.txt email interface without tests 2023-08-30 21:19:36 +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

Coverage

  • coverage run --source='.' manage.py test
  • coverage report or coverage html