https://github.com/kottenator/sample-django-project
Sample project to discover different options for static files management
https://github.com/kottenator/sample-django-project
Last synced: 11 months ago
JSON representation
Sample project to discover different options for static files management
- Host: GitHub
- URL: https://github.com/kottenator/sample-django-project
- Owner: kottenator
- Created: 2016-05-18T01:12:22.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-01T02:42:13.000Z (about 10 years ago)
- Last Synced: 2025-02-22T01:28:42.964Z (over 1 year ago)
- Language: JavaScript
- Size: 188 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sample Django Project
Discover different ways of static files handling.
## Installation & Development
```sh
git clone ...
virtualenv -p python3 venv
. venv/bin/activate
pip install -r requirements.txt
npm install
```
## Run
```sh
./manage.py runserver
```
## Develop
```sh
# 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
```