The server can be deployed on a raspberry pi or on a laptop
default mode: Nun and Booth are present
Receiving: Sin data -> has meta label for client, if booth or Nun. Visualization filters from dashboard events from booth app
Sending: Sound data (booth) -> is the booth android app event driven for light and sound? Light data (booth) Visual data (projector)
Munging:
Creating a record for each sin querying the db for sin categories Creating JSON data for dashboard returning light sequence for booth accessing correct index for sound
confging your wifi card, headless:
- plug in network card and cable and turn your Rapi machine on.
- Find ip address from your routers web access page.
-
- ssh into it using pi@<ip_address>, password is 'raspberry'
- in command line type: confging your wifi card, headless:
~ $ sudo -i ~ $ sudo nano /etc/wpa_supplicant/wpa_supplicant.conf ssid, '' password :wq testing: ~ $ ifdown wlan0 unplug cable ~ $ ifup wlan0 ssh into it using ~ $ssh pi@<ip_address>, password is 'raspberry'
Setting up git on raspberry pi go to the github website repo your going to deploy off of. open settings/deploy keys.
Generate a rsa key ~ $ssh-keygen -t rsa private key: ~/.ssh/id_rsa public key: ~/.ssh/id_rsa.pub --> copy this one to github paste the public key into the deploy keys public key form.
~$ git clone:[email protected]:MechanicalNun/Server-app.git
Setting up google maps api v3: http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html https://developers.google.com/maps/documentation/javascript/examples/maptype-styled-simple