The backend can be reached via http://localhost:8000/api/admin
- Install
python3
andpython3-venv
- Create virtual env directory (with IntelliJ or command line
python3 -m venv venv
) - Run
source venv/bin/activate
- Run
pip install -r requirements.txt
- Run
python mysite/manage.py makemigrations traildiary
- Run
python mysite/manage.py migrate
- Run
python mysite/manage.py createsuperuser --username me --email me@mymail.de
- Create file
mysite/.env
- Rename
mysite/env.sample
tomysite/.env
and change according to your needs. - Create a file
logfile.log
in the main directory - For development server: Run
python manage.py runserver
in the main directory