GeoCam Memo Web
The GeoCam Project helps people better understand and respond to disasters. GeoCam consists of a GPS-enabled camera (or cell phone) and a web app for sharing geotagged photos and other geospatial data.
GeoCam Memo is a scribing and note-taking application intended for use by search team members as they canvas the scene of a disaster. Notes can be recorded using text or audio and various forms of attachments (including but not limited to images) can be attached for transmission to a central server. All messages can be geotagged and categorized before saving to provide proper context when analyzing them via a web interface at a later time.
GeoCam Talk is a communication application intended to aid in communication during a search mission. Members can send text and audio messages to any subset of their team members while on the field from their mobile devices. All messages are sent through a central server which catalogs them for later analysis. Just as in Memo, all messages are geotagged to provide instant awareness of team member location.
This is the web application for both GeoCam Memo and GeoCam Talk
The GeoCam Memo and Talk applications were built using the Django framework and run on top of Python.
Once all dependencies have been installed, clone the GeoCamMemoWeb repository to the path of your choice:
git clone email@example.com:cheeseinvert/geocamMemoWeb.git
If you haven't already, you'll need to register your gmail or google apps address here: http://code.google.com/android/c2dm/signup.html
Before running the Django application, rename geocamMemoWeb/geocamMemo/authentication_example.py to geocamMemoWeb/geocamMemo/authentication.py:
mv geocamMemoWeb/geocamMemo/authentication_example.py geocamMemoWeb/geocamMemo/authentication.py
Modify the newly moved file and follow the directions. You'll need to run the following from the console in order to retrieve your authentication token (curl with ssl libraries required: http://curl.haxx.se/):
curl https://www.google.com/accounts/ClientLogin -k --data-urlencode Emailfirstname.lastname@example.org --data-urlencode Passwd=some_password -d accountType=GOOGLE -d source=com.patrickbaumann.pushprototype -d service=ac2dm
The response will contain an SID, AUTH, and LSID:
SID=alsdjfa;ljsdf;lajsdlfj... AUTH=alsdjkfa;lskjdfl;asjd... LSID=asl;dfjalskdjflasjdfl...
Paste the AUTH line after the '=' into authentication.py between the quotation marks.
CD into your ./geocamMemoWeb/example path and run syncdb, creating an admin user if prompted:
python manage.py syncdb
To run a development server, navigate to your ./geocamMemoWeb/example path and execute runserver:
python manage.py runserver 0.0.0.0:8000
Pleast note that this must be done before the geocamTalkForAndroid and geocamTalkForAndroid can be successfully run on your mobile device.
Testing can be initiated from your ./geocamMemoWeb/example path using the test command:
python manage.py test geocamMemo geocamTalk
See the Django documentation for more information on using manage.py