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.
============
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45adc972c47caf89903e029d357604cdec35a6dcb311034b33c365bacc9f07ab
|
|
| MD5 |
802d7fc0ba6ef73fdb0d2c46d162c44f
|
|
| BLAKE2b-256 |
8bb31b2eead874568ef48b713e6f732d9736821e5ae789a38d3497b502bdc4b1
|
File details
Details for the file grunt-django-0.2.4.macosx-10.9-intel.exe.
File metadata
- Download URL: grunt-django-0.2.4.macosx-10.9-intel.exe
- Upload date:
- Size: 73.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49b99c1560c6151b152db52eaefc9144eb38cab8b8279e70924450f99b482064
|
|
| MD5 |
620d8b3d591f01004d737eace25f142c
|
|
| BLAKE2b-256 |
e71e0be7154e75b1f9a144728d7bd53986acc26dabfd71eabd00e17f865ae0cb
|