Note, this project is now privately held here.
This application includes data models defined using django ORM. These models are revealed to the client via a REST API for consumption by an Angular Single Page Application (SPA). The SPA will reside within an in-app web browser. Some buttons will trigger certain actions within the app, such as video recording.
You should use virtualenvwrapper and pip.
- Install backend requirements:
pip install -r requirements.txt
- Make an sqlite3 database for development
./manage.py syncdb
- Dive into the Angular app
cd project/static/wibi
- Install frontend requirements:
npm install && bower install
(this will createapp/bower_components
andnode_modules/
) - Then go up a couple directories and
./manage.py runserver
project/
├── static/ Angular.js in here under wibi/
├── utils/ helpful mixins, middleware etc.
└── project/
├── models.py models --> REST API
├── serializers.py For the django REST Framework
├── settings.py Django settings
├── urls.py catchall for Angular minus /api/ and /admin/
├── views.py >> delivers index.html Angular app from dist/
└── wsgi.py server connection setup