Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 963 Bytes

README.md

File metadata and controls

43 lines (31 loc) · 963 Bytes

discovery_space_rfid

Prerequisites

  1. Python 2.7
  2. pip
  3. virtualenv
  4. virtualenvwrapper
  5. Phidgets Drivers and Python Libraries: http://www.phidgets.com/docs/Software_Overview

To get started:

  1. Clone the repository and cd into directory: $ git clone [email protected]:jdn5126/discovery_space_rfid.git

  2. cd into directory: $ cd discovery_space_rfid

  3. Create a virtual environment: $ mkvirtualenv psucse

  4. Activate virtual environment: $ workon psucse

  5. (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"
    
  6. Install requirements: $ pip install -r requirements/requirements.txt

  7. Configure Database: $ python run.py db upgrade

  8. (Optional) For Phidget RFID to fake keyboard input: $ bash python_daemon.sh

  9. Run server $ python run.py runserver