From 4c6e8e1210947c1e286ed8d6287f9371cec26498 Mon Sep 17 00:00:00 2001 From: Thomas Irgang Date: Wed, 19 Apr 2023 21:57:41 +0200 Subject: [PATCH 1/2] setup for local dev --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 7f5df64..17d50fc 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,16 @@ 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 +- 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 .` From 873b3bb26d79c0c0e5ffd6b2df71fbfe0e7efb47 Mon Sep 17 00:00:00 2001 From: maggi Date: Thu, 20 Apr 2023 13:44:04 +0200 Subject: [PATCH 2/2] Added venv activation --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 17d50fc..cb98011 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ For documentation see https://makes-hacks-hip.github.io/RepApp/. - Clone repo - python -m venv venv +- source venv/bin/activate - cd rc_hip - python manage.py makemigrations - python manage.py migrate