An interactive installation for transmediale 2016
- to install node modules, install npm and run
npm install
- to compile sass scripts, run
compass watch
pip2 install Pillow
auf pi: `sudo pacman -S python2-pillowpip2 install socketIO-client
pip2 install pyserial
- font generation by SpriteFontBuilder for mac
- font conversion with this script: https://github.com/playcanvas/fonts/blob/master/fnt_to_json.py
- Within scripts dir, execute:
python -m polylogue.test.print_test.py
-
start node server automatically by calling
pm2 start app.js
and thenpm2 save
-
create python startup script
nano /etc/systemd/system/polylogue.service
-
[Unit] Description=Launches polylogue print server script After=network.target [Service] Type=simple WorkingDirectory=/home/pi/scripts/polylogue/ ExecStart=/bin/python2 polylogue_print_server.py RemainAfterExit=true [Install] WantedBy=multi-user.target
-
sudo systemctl enable polylogue.servive
to automatically start
- go to twittersever dir, run
npm install
andcp config.default.js config.js
- go to network -> wifi -> "the wan wifi" -> disable
- login by ssh :
ssh root@192.168.72.1
- uncomment line in /etc/dnsmasq.conf:
address=/#/192.168.72.2
- uncomment line in /etc/dnsmasq.conf:
edit nano ~/polylogue/twitterserver/config.js
change
tags : '#rp17' // see https://dev.twitter.com/rest/public/search for how to setup the search query
/*
#love OR #hate : one or the other
#love #hate : contains both tags
*/