add: db instruction readme

This commit is contained in:
starnakin 2023-11-27 14:09:18 +01:00
parent b98371cf70
commit 6a4e161d71

View File

@ -20,6 +20,11 @@ source .env/bin/activate
``` bash ``` bash
pip install -r requirements.txt pip install -r requirements.txt
``` ```
- Setup database
```
python manage.py runserver makemigrations profiles
python manage.py migrate profiles
```
- Start the developpement server - Start the developpement server
``` ```
python manage.py runserver 0.0.0.0:8000 python manage.py runserver 0.0.0.0:8000