Backend for @civic-data-design-lab's work for the Cooper Hewitt's Reimagining Mobility exhibition.
- See if homebrew is installed on your Mac (type
brew --version
into a terminal window). - If not, run this command in a terminal window:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- In a terminal window,
run brew install sane-backends
- Check if PIP is installed by typing
pip -V
into a terminal window. - In a terminal window, type
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
- In a terminal window, type
python3 get-pip.py
- In a terminal window, change directory into the repository root (for example,
cd ~/Downloads/nextstop
). - Install my project dependencies by typing
pip install -r requirements.txt
Assuming you have the scanner hooked up to a USB port, you should now be able to run python3 scheduler.py
from a terminal window. This will get the scanner running - drop a card in and within a few sections it will scan.