Carbon 2017 Hackathon
Python - already installed on our Macs
Pip - Type the following into the terminal:
sudo easy_install pip
Flask - Partially installed in our repository, activate by typing:
cd server
source bin/activate
sudo pip install -U flask-cors
node - https://nodejs.org/en/
Webserver
npm install http-server -g
npm install uuid
Switch to a virtual enviorment with the source command, run server.py for flask services, and then start a local http-server.
cd watchugot/server/server
source bin/activate
watchugot/server/server/source
python server.py
cd watchugot/
http-server
flask api on port 5000
web page server on port 8080
The data flows in this manner:
HTML
JS
Python