An open API service indexing awesome lists of open source software.

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

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
```