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.
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
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