generator-django-axiacore
v0.1.5
Published
AxiaCore Django project generator using Yeoman
Downloads
19
Keywords
Readme
generator-django-axiacore
Base template for django projects at AxiaCore, includes Gulp build with Compass and Live Reload. Also browser dependencies using Bower.
Quick start
# Create a new folder for your project
$ mkdir my-awesome-project && cd my-awesome-project
# Install yeoman and django-generator
$ sudo npm install -g yo generator-django-axiacore
# Use the generator
$ yo django-axiacore
# Fire up your new enviroment
$ workon my-awesome-project_app
# Make your migrations
$ ./manage.py migrate
# Run!!!
$ ./manage.py runserver 0.0.0.0:8000
Adding Bootstrap or Materialize
You can setup the project to use Materialize or Bootstrap.
Subgenerators
Using the subgenerator startapp yo django-axiacore:startapp
you can create a new app with scaffold Views and Urls.
$ yo django-axiacore:startapp
Contributing
We love contributions, so, don't hesitate in creating an issue or sending us a pull request.
Development
The main generator file is written in CoffeeScript, and we use Gulp to compile it. To set the generator up just clone the repository and run:
# Install dependencies.
$ npm install
# Run tasks.
$ gulp
# Hack...
Development
Main project file is written in CoffeeScript so we use Gulp for building it.
It's located in app/index.coffee
.
# Run gulp, which will watch for changes in `.coffee` files.
$ gulp
Technologies
- Bower
- Gulp
- Sass
- Compass
Dependencies
- Node
- Npm
- Python
- Ruby