Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

patrickbaumann/geocamMemoWeb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeoCam Memo Web

Contents

About

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

News

Visit http://sites.google.com/site/geocampracticum2011/ and http://disastercam.blogspot.com/ for updates.

Setup

The GeoCam Memo and Talk applications were built using the Django framework and run on top of Python.

Dependencies

  1. Once all dependencies have been installed, clone the GeoCamMemoWeb repository to the path of your choice:

    git clone git@github.com:cheeseinvert/geocamMemoWeb.git
  2. 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
  3. CD into you ./geocamMemoWeb/example path and run the following (if there are no errors, continue to step 8):

    python manage.py googleauth
  4. 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
  5. 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 Email=youraccount@gmail.com --data-urlencode Passwd=some_password -d accountType=GOOGLE -d source=com.patrickbaumann.pushprototype -d service=ac2dm
  6. The response will contain an SID, AUTH, and LSID:

    SID=alsdjfa;ljsdf;lajsdlfj...
    AUTH=alsdjkfa;lskjdfl;asjd...
    LSID=asl;dfjalskdjflasjdfl...
  7. Paste the AUTH line after the '=' into authentication.py between the quotation marks.
  8. CD into your ./geocamMemoWeb/example path and run syncdb, creating an admin user if prompted:

    python manage.py syncdb

Running

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

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

About

App for a field scribe to take geotagged notes and audio messages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.6%
  • Shell 2.5%
  • Perl 2.5%
  • JavaScript 0.4%