Modern starter template for Django + Svelte projects. It includes:
Create a virtual environment and activate it:
python3 -m virtualenv venv && . venv/bin/activate
Install Python development requirements:
python3 -m pip install . prek && prek install
Install NodeJS requirements:
npm install
Process initial migrations:
python3 manage.py migrate
Open two terminals and run these commands (one in each terminal):
npm run watch
python3 manage.py runserver
Then go to http://127.0.0.1:8000 on your browser.
prek run -a