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.
RepApp/README.md

33 lines
714 B
Markdown
Raw Normal View History

2023-04-16 08:03:37 +00:00
# RepApp
2023-04-17 18:57:55 +00:00
2023-04-16 08:03:37 +00:00
Web App um Reparaturtermine zu vereinbaren.
2023-04-17 18:57:55 +00:00
For documentation see https://makes-hacks-hip.github.io/RepApp/.
2023-04-19 19:57:41 +00:00
## Setup for development
- Clone repo
- python -m venv venv
2023-04-20 11:44:04 +00:00
- source venv/bin/activate
2023-04-19 19:57:41 +00:00
- cd rc_hip
- python manage.py makemigrations
- python manage.py migrate
- python manage.py createsuperuser
- python manage.py runserver
2023-04-17 18:57:55 +00:00
## Build Docker image
- Build the image: `docker build -t repapp .`
- Run the image:
```bash
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