python3.10 -m virtualenv .venvpip install -U poetrypoetry installpoetry shell
- Migrations:
python manage.py makemigrationspython manage.py migrate
- Create/Edit .env file:
cp .env-example .env - Create user:
python manage.py createsuperuser - Change user's password:
python manage.py changepassword info@example.com - Rename
my_projectfolder andmy_projectreferences to your project name
- Run Django Server:
python manage.py runserver - Django Admin URL: http://127.0.0.1:8000/admin/
- Login to Django Admin with User/Pass fe:
info@example.com/info@example.com - API URL: http://127.0.0.1:8000/api/docs#/
- Optionally add packages with:
poetry add django-environ