generator-django-rest ![Build Status](https://secure.travis-ci.org/metakermit/generator-django-rest.png?branch=master)
Yeoman generator for a Django REST API
that keeps things simple, yet includes includes features you need in a typical
web app.
Features:
-
12-factor 🤓
-
quick to launch 🚀 Start a new project and deploy it to Heroku in 3 commands:
yo django-rest
./scripts/devsetup.sh
./scripts/deploy.sh
-
productive ⚡️ Start a development server easily using ./scripts/dev.sh
Getting Started
To begin, your computer first needs node.js.
Once you have that, you need Yeoman pre-installed. Yeoman lives in the
npm package repository. You only have to ask for him
once, then he packs up and moves into your hard drive.
npm install -g yo
Then, we need the django-rest generator, i.e. plug-in. You install
generator-django-rest from
npm.
npm install -g generator-django-rest
Finally, for every new project you would initiate the generator
in an empty folder.
mkdir myproject
cd myproject
yo django-rest
License
MIT