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


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.2.4.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

grunt-django-0.2.4.macosx-10.9-intel.exe (73.2 kB view details)

Uploaded Source

File details

Details for the file grunt-django-0.2.4.tar.gz.

File metadata

  • Download URL: grunt-django-0.2.4.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for grunt-django-0.2.4.tar.gz
Algorithm Hash digest
SHA256 45adc972c47caf89903e029d357604cdec35a6dcb311034b33c365bacc9f07ab
MD5 802d7fc0ba6ef73fdb0d2c46d162c44f
BLAKE2b-256 8bb31b2eead874568ef48b713e6f732d9736821e5ae789a38d3497b502bdc4b1

See more details on using hashes here.

File details

Details for the file grunt-django-0.2.4.macosx-10.9-intel.exe.

File metadata

File hashes

Hashes for grunt-django-0.2.4.macosx-10.9-intel.exe
Algorithm Hash digest
SHA256 49b99c1560c6151b152db52eaefc9144eb38cab8b8279e70924450f99b482064
MD5 620d8b3d591f01004d737eace25f142c
BLAKE2b-256 e71e0be7154e75b1f9a144728d7bd53986acc26dabfd71eabd00e17f865ae0cb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page