Grunt initialization for your project
Project description
django-grunt
============
Managing Grunt with runserver and Grunt initialization for your project.
Inspired to [Brandon Konkle's post](http://lincolnloop.com/blog/simplifying-your-django-frontend-tasks-grunt/)
Installation
----------
From command line
```
pip install grunt-django
```
In your settings.py:
```python
INSTALLED_APPS = (
...,
'grunt'
)
```
optional:
```python
import os
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
GRUNTFILE_ROOT = os.path.join(BASE_DIR, 'MY_GRUNTFILE_DIR')
```
Usage
----
django-grunt provide 2 management commands:
1.
```
manage.py gruntinit
```
which created a package.json and Gruntfile.js
2.
```
manage.py gruntserver
```
Run this command instead of ```manage.py runserver``` for running django server along with grunt. This is helpful when you use livereload and watch.
============
Managing Grunt with runserver and Grunt initialization for your project.
Inspired to [Brandon Konkle's post](http://lincolnloop.com/blog/simplifying-your-django-frontend-tasks-grunt/)
Installation
----------
From command line
```
pip install grunt-django
```
In your settings.py:
```python
INSTALLED_APPS = (
...,
'grunt'
)
```
optional:
```python
import os
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
GRUNTFILE_ROOT = os.path.join(BASE_DIR, 'MY_GRUNTFILE_DIR')
```
Usage
----
django-grunt provide 2 management commands:
1.
```
manage.py gruntinit
```
which created a package.json and Gruntfile.js
2.
```
manage.py gruntserver
```
Run this command instead of ```manage.py runserver``` for running django server along with grunt. This is helpful when you use livereload and watch.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
grunt-django-0.1.tar.gz
(7.1 kB
view hashes)
Built Distribution
Close
Hashes for grunt-django-0.1.macosx-10.9-intel.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61a15db33054dc64d5f96286e31691e6fce03dcb5fe0a433c05e66053c467477 |
|
MD5 | 987429b1324303df3b9ae866c51e1167 |
|
BLAKE2b-256 | 75b4f289b4eb132829c0481ff04dd83648ab16efb6a975940ee091b95060c9cc |