From 3545df18398d729eb9be0076ec42b1577aaba921 Mon Sep 17 00:00:00 2001 From: Linden Crandall Date: Thu, 17 Aug 2023 14:05:39 +0900 Subject: [PATCH] added migration steps --- backend/README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/backend/README.md b/backend/README.md index 24336aa..c70b803 100644 --- a/backend/README.md +++ b/backend/README.md @@ -111,7 +111,15 @@ ADMIN_URL= `python manage.py createsuperuser` - follow the prompts to create your superuser and try to access the admin portal at -``127.0.0.1:8000/api/admin` +`127.0.0.1:8000/api/admin` + +- finally migrate models to your empty db that should have already been created: + +`python manage.py makemigrations` + +and then + +`python manage.py migrate`