skip to navigation
skip to content

Not Logged In

grunt-django 0.2.3

Grunt initialization for your project

Latest Version: 0.2.4

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 creates 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.  
File Type Py Version Uploaded on Size
grunt-django-0.2.3.macosx-10.9-intel.exe (md5) MS Windows installer any 2014-08-06 71KB
grunt-django-0.2.3.tar.gz (md5) Source 2014-08-06 10KB
  • Downloads (All Versions):
  • 21 downloads in the last day
  • 185 downloads in the last week
  • 619 downloads in the last month