Skip to content

Django project that serves a REST api (via django-rest-framework) which is consumed by various client applications.

Notifications You must be signed in to change notification settings

charlon/frameworks-comparison

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

frameworks-comparison

Django project that serves a REST API. For the clients, a comparison of various client-side js applications that consumes the API as well as a Django app using PJAX. PushState is supported across all the comparison apps.

Installation

Github

$ git clone git@github.com:charlon/frameworks-comparison.git

Virtualenv:

Turn the cloned repository into a virtualenv.

$ virtualenv frameworks-comparison
$ cd frameworks-comparison
$ source bin/activate

Dependencies:

Optional: Install nodeenv (if you don't have node installed globally)

$ pip install nodeenv
$ nodenv -p

Install LessCSS via Node

$ npm install -g less

Install the requirements

$ cd frameworks
$ pip install -r requirements.txt

Server

Export settings (for each terminal - for now)

$ export DJANGO_SETTINGS_MODULE=frameworks.settings.local

Create the database and seed:

$ python manage.py syncdb
$ python manage.py populate_db_profiling

Run server (using local settings):

$ python manage.py runserver 0.0.0.0:8000

About

Django project that serves a REST api (via django-rest-framework) which is consumed by various client applications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published