- Python 2.7
- pip
- virtualenv
- virtualenvwrapper
- Phidgets Drivers and Python Libraries: http://www.phidgets.com/docs/Software_Overview
-
Clone the repository and cd into directory:
$ git clone git@github.com:jdn5126/discovery_space_rfid.git
-
cd into directory:
$ cd discovery_space_rfid
-
Create a virtual environment:
$ mkvirtualenv psucse
-
Activate virtual environment:
$ workon psucse
-
(Optional) Add the following to ~/.bash_profile:
$ export WORKON_HOME=~/Envs $ source /usr/local/bin/virtualenvwrapper.sh alias psucse="cd ~/discovery_space_rfid; workon psucse"
-
Install requirements:
$ pip install -r requirements/requirements.txt
-
Configure Database:
$ python run.py db upgrade
-
(Optional) For Phidget RFID to fake keyboard input:
$ bash python_daemon.sh
-
Run server
$ python run.py runserver