Fixing readme
This commit is contained in:
parent
76bcb48b0b
commit
a476dc48e2
1 changed files with 20 additions and 9 deletions
29
README.md
29
README.md
|
@ -1,29 +1,40 @@
|
|||
# world-o-techno
|
||||
Location-based techno with Sonic Pi and gpsd
|
||||
Location-based techno with Sonic Pi and gpsd, for Bristol Mini Maker Faire 2015
|
||||
|
||||
Getting started:
|
||||
## Getting started:
|
||||
|
||||
Check this out into /home/pi
|
||||
Check this repository out into ```/home/pi```
|
||||
|
||||
Install gpsd (thanks to http://blog.retep.org/2012/06/18/getting-gps-to-work-on-a-raspberry-pi/) with
|
||||
```
|
||||
pi@raspberrypi:~$ sudo apt-get install gpsd gpsd-clients python-gps
|
||||
```
|
||||
and start it with
|
||||
```
|
||||
pi@raspberrypi:~$ sudo gpsd /dev/ttyUSB0 -F /var/run/gpsd.sock
|
||||
```
|
||||
|
||||
Check it works with
|
||||
Check your GPS works with
|
||||
```
|
||||
pi@raspberrypi:~$ cgps -s
|
||||
```
|
||||
|
||||
Install sonic-pi-cli to give Sonic Pi a command line (via https://github.com/Widdershin/sonic-pi-cli)
|
||||
|
||||
```
|
||||
pi@raspberrypi:~$ gem install sonic-pi-cli
|
||||
```
|
||||
|
||||
Make your pi start Sonic Pi and play our tune on boot (thanks to
|
||||
## Autostart
|
||||
|
||||
Make your pi start Sonic Pi and play our script when the Pi boots boot (thanks to
|
||||
https://rbnrpi.wordpress.com/autoboot-for-telegram-and-sonic-pi-jukebox/)
|
||||
|
||||
```
|
||||
pi@raspberrypi:~$ sudo vi /etc/xdg/lxsession/LXDE-pi/autostart
|
||||
|
||||
```
|
||||
and add these lines at the end:
|
||||
|
||||
```
|
||||
@sonic-pi
|
||||
lxterminal --command "/home/pi/world-o-techno/startup.sh"
|
||||
```
|
||||
|
||||
Now reboot your Pi and see if it works.
|
||||
|
|
Loading…
Reference in a new issue