Tuto Django - Vue génériques - Bootstrap - Bootswatch
Django example project with bootstrap4 templates (Bootswatch) , Generic Views, etc.
- create a virtualenv :
virtualenv -p python3 venv
- activate : `source venv/bin/activate``
- install static dependencies :
cd static
(at root level)npm i jquery popper.js bootstrap bootswatch @fortawesome/fontawesome-free
- or just at root level :
yarn new install
- migrations :
./manage.py makemigrations
./manage.py migrate
- load initial data :
./manage.py loaddata initial_musiques_data.json
./manage.py runserver