/sample-django-project

Sample project to discover different options for static files management

Primary LanguageJavaScript

Sample Django Project

Discover different ways of static files handling.

Installation & Development

git clone ...
virtualenv -p python3 venv
. venv/bin/activate
pip install -r requirements.txt
npm install

Run

./manage.py runserver

Develop

# CommonJS bundle: one-time compilation
npm run common-bundle
# CommonJS bundle: watch for changes & auto rebuild
npm run watch-common-bundle
# ES6 bundle: one-time compilation
npm run es6-bundle
# ES6 bundle: watch for changes & auto rebuild
npm run watch-es6-bundle