Mercurial > code > home > repos > light9
changeset 1546:eeadad4a998e
pi setup docs and fixes
Ignore-this: 170659e6fec5ac58741e4158dd27881b
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Fri, 19 May 2017 07:47:48 +0000 |
parents | c7e52977c5ca |
children | 3ca103d97f98 |
files | doc/pi-setup makefile |
diffstat | 2 files changed, 12 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/pi-setup Fri May 19 07:47:48 2017 +0000 @@ -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
--- a/makefile Fri May 19 07:42:27 2017 +0000 +++ b/makefile Fri May 19 07:47:48 2017 +0000 @@ -78,13 +78,13 @@ 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}