# HG changeset patch # User Drew Perttula # Date 2017-05-19 07:47:48 # Node ID eeadad4a998e27496f766388d4b04a8721904b48 # Parent c7e52977c5caa877c19e4e60713d52c2c21a7c64 pi setup docs and fixes Ignore-this: 170659e6fec5ac58741e4158dd27881b diff --git a/doc/pi-setup b/doc/pi-setup new file mode 100644 --- /dev/null +++ b/doc/pi-setup @@ -0,0 +1,8 @@ +raspbian +enable ssh +enable camera +sudo aptitude install darcs zsh +darcs get drewp@10.1.0.1:/my/proj/light9 +~/light9 $ make raspberry_pi_packages +make raspberry_pi_virtualenv +bin/picamserve diff --git a/makefile b/makefile --- a/makefile +++ b/makefile @@ -78,13 +78,13 @@ bower: cd light9/web/lib/N3.js; npm install; npm run browser cd light9/web/lib/d3; npm install +raspberry_pi_packages: + sudo apt-get install python-picamera python-dev python-twisted python-virtualenv + raspberry_pi_virtualenv: mkdir -p env_pi virtualenv --system-site-packages env_pi - -raspberry_pi_packages: - sudo apt-get install python-picamera python-dev python-twisted python-virtualenv - env_pi/bin/pip install cyclone 'coloredlogs==1.0.1' + env_pi/bin/pip install cyclone 'coloredlogs==6.0' darcs_show_checkpoint: darcs add --quiet --recursive ${LIGHT9_SHOW}