A generator for Yeoman.
To install generator-django from npm, run:
$ npm install -g generator-django
Then make a virtualenv and cd into it:
$ virtualenv myproject --no-site-packages
$ cd myproject
Finally, make your project directory and initiate the generator:
$ mkdir myproject && cd myproject
$ yo django
You get the following directory structure:
.
├── apps
├── bin
│ └── watchmedo.sh
├── bower.json
├── fabfile.py
├── __init__.py
├── libs
├── package.json
├── README.md
├── requirements
│ ├── COMMON
│ ├── DEVELOPMENT
│ ├── PRODUCTION
│ └── TESTING
├── settings
│ ├── common.py
│ ├── development.py
│ ├── __init__.py
│ └── testing.py
├── static
│ ├── css
│ ├── img
│ ├── js
│ └── vendor
│ └── bower
└── templates
└── layout
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request