- Create a virtual environment and activate it:
python3 -m virtualenv venv && . venv/bin/activate
- Install Python development requirements:
python3 -m pip install .[dev]
pre-commit 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 build:watch
python3 manage.py runserver
Make sure that you've activated the Python virtual environment before!