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-08-15 17:51:32 +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 plantuml test 2 2023-08-15 17:51:32 +02:00
rc_hip fix device question 2023-06-18 18:05:07 +02:00
.gitignore finish liveservertests 2023-04-27 11:09:41 +02:00
.gitmodules add custom bootstrap 2023-04-27 15:31:05 +02:00
cspell.json orga plan view started 2023-06-18 17:38: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 workflows for devices, restructure docs 2023-05-18 10:06:10 +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 accept, request or question new device 2023-05-29 16:58:36 +02:00
requirements_prod.txt accept, request or question new device 2023-05-29 16:58: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