-
Notifications
You must be signed in to change notification settings - Fork 2
Home
smmiller edited this page Aug 19, 2014
·
1 revision
- pip
1. Download and install MongoDB
2. Run MongoDB:
$ mongo
3. Create a new database called 'sensedb'.
>>> use sensedb
4. Insert and remove a blank document to save the database.
>>> db.test.insert({})
>>> db.test.drop()1. Install Django
$ pip install Django==1.6.5
2. Install MongoDB backends for Django
$ pip install git+https://github.com/django-nonrel/django@nonrel-1.5 $ pip install git+https://github.com/django-nonrel/djangotoolbox $ pip install git+https://github.com/django-nonrel/mongodb-engine
3. Download and unzip Sensevis Django project.
4. In the djangosense/ directory, run the server locally with the command:
$ python manage.py runserver
You can specify another server by appending to the previous command the appropriate host:port.