Django API with Django Rest Framework and AngularJS-Resource
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
project
scripts
.bowerrc
.gitignore
.pep8
Gruntfile.coffee
LICENSE
Makefile
README.md
bower.json
manage.py
package.json
requirements.txt
setup.py

README.md

Django API with Django Rest Framework and AngularJS-Resource

Dependencies

To setup and run the sample code, you're going to need npm from NodeJS available to install the frontend code.

Setup

Manual

You're encouraged to setup a virtualenv to work in prior to configuring the dependencies.

  1. Install Python Requirements

     pip install -r requirements.txt
     python setup.py develop
    
  2. Install Bower + Grunt

     npm install -g grunt-cli bower
    
  3. Install Assets

     npm install
     bower install
    
  4. Compile Assets

     grunt
    
  5. Setup the Database

     make create_database; make make_fixtures
    
  6. Run the Server

     ./manage.py runserver