EPM is a Python web application built in Django for reuniting lost and found pets as a collaborative effort during mass emergency events. EPM is designed to help spread lost/found pet postings, as users can easily sign up using Facebook/Twitter and share them easily. With the power of the crowd, people can log in, report lost/found pets, propose matches using a simple matching interface, and vote up/down on those matches to increase likelihood of successful matches. When enough votes have been cast on a pet match, emails are sent out to original lost/found pet contacts encouraging them to speak with each other to determine whether the match is successful.
##Requirements
- Python 2.7
- VirtualEnv
##Setup
- First, clone this repo locally.
- Run
virtualenv .
in theproject
folder. - Run
pip install -r requirements.txt
and ensure that all modules are properly installed. - Run
python manage.py migrate
to run migrations for the database. - To create test pet data, just run
python fixture.py setup
to see pet reports, matches, and user profiles generated at random. - In order to properly run EPM, you must fill out email account settings and social auth settings in order for your EPM instance to properly send emails and to authenticate Facebook/Twitter accounts, respectively. Fill out the
social_auth_settings.py
andemail_settings.py
underproject/project
. - Finally, run
python manage.py runserver
to start the development server and go tolocalhost:8000
to see the front page of EPM. - If you want to create example pet data to display, just run
python fixture.py setup
on the project directory to launch the fixture script that will create pet reports, matches, and users to the database.