fix readme steps

gotta migrate the auth model before one can attempt to create
a superuser.

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
This commit is contained in:
Pratyush Desai 2025-01-25 01:57:07 +05:30
parent 53a59f4f27
commit 5247ee458d
Signed by: pratyush
GPG Key ID: 45B145D6D2032406

View File

@ -8,9 +8,8 @@
* activate `source venv/bin/activate`
* `pip install -r requirements.txt`
* will need docker running
* Create admin user: `python manage.py createsuperuser`
* `python manage.py makemigrations`
* `python manage.py migrate`
* Create admin user: `python manage.py createsuperuser`
* `python manage.py runserver`
* visit http://localhost:8000 for /public and
http://localhost:8000/admin/ to log in via the superuser credentials
http://localhost:8000/admin/ to login via the superuser credentials