What the protester sees - the Webapp that ties it all together.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README
about.png
camera.png
compassbtn.png
crypto.js
favicon.png
googlemaps.js
index.html
jquery-1.4.4.js
keep.png
lhs.png
logo.png
map.png
master.css
middle.png
phonegap.0.9.4.js
report.png
reportcancelbutton.png
reportsendbutton.png
sukeyPhoneDisplay.js
sukeyReport.js
sukeySettings.js
sukeyVote.js
sukeymap.js
ticker-1.2.js
trash.png

README

<h1>Snarl Webapp</h1>



Howto Deploy Webapp (using the Git Read-Only url)
=================================================
local_username@localmachine:~/$ ssh remote_username@domain.com
remote_username@domain.com's password:
[remote_server]$ pwd
/home/remote_username
[remote_server]$ ls
domain.com
[remote_server]$ cd domain.com/
[remote_server]$ git clone git@github.com:Snarl/Webapp.git
Cloning into Webapp...
remote: Counting objects: 32, done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 32 (delta 6), reused 32 (delta 6)
Receiving objects: 100% (32/32), 164.23 KiB, done.
Resolving deltas: 100% (6/6), done.


Generating Webapp jsdocs
========================
Health Warning: This howto relates to local development, using the symlinking of my project directory to /var/www is just because I am lazy. Making apache follow symlinks is not recommended for a production server.
Other Notes: make sure apache is configured to follow symlinks if you want to use /var/www in this way

cd ~/
mkdir Snarl
cd Snarl
wget http://jsdoc-toolkit.googlecode.com/files/jsdoc_toolkit-2.4.0.zip
unzip jsdoc_toolkit-2.4.0.zip
rm jsdoc_toolkit-2.4.0.zip
git clone git://github.com/Snarl/Webapp.git
symlink the newly created Webapp folder to /var/www

satisfy REQUIREMENTS from /jsdoc-toolkit/README.txt
working with OpenJDK Runtime Environment (IcedTea6 1.9.9) on Ubuntu 10.04

n.b. because it clogs up the output html I like to temporary remove googlemaps.js, jquery-1.4.4.js and phonegap.0.9.4.js from working dir
cd jsdoc_toolkit-2.4.0/jsdoc-toolkit/
java -jar jsrun.jar app/run.js -a -t=templates/jsdoc -d=/var/www/Webapp/docs /var/www/Webapp

Finally, the documentation can be viewed at http://localhost/Webapp/docs