Skip to main content

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

Project details


Release history Release notifications

History Node

0.2.4

This version
History Node

0.2.3

History Node

0.2.2

History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
grunt-django-0.2.3.macosx-10.9-intel.exe (73.2 kB) Copy SHA256 hash SHA256 Windows Installer any Aug 6, 2014
grunt-django-0.2.3.tar.gz (11.0 kB) Copy SHA256 hash SHA256 Source None Aug 6, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page