Decisions get made by people who show up. Progressive Events is here to tell you about where you should show up. A civic / activist / politically-themed hub for events in your area.
git
, virtualenvwrapper
, and pip
git clone [email protected]:bahoo/progressive-events.git
cd progressive-events
mkvirtualenv progressiveevents
pip install -r requirements.txt
Things you'll need:
- Postgres database: https://wiki.postgresql.org/wiki/Detailed_installation_guides#MacOS
- A unique, secure Django
SECRET_KEY
http://www.miniwebtool.com/django-secret-key-generator/ - A Google Maps API key (server side, for geocoding) https://console.developers.google.com/flows/enableapi?apiid=maps_backend,geocoding_backend,directions_backend,distance_matrix_backend,elevation_backend&keyType=CLIENT_SIDE&reusekey=true
- Optionally, Redis: http://jasdeep.ca/2012/05/installing-redis-on-mac-os-x/
Then set some variables in your .env
file:
echo "DATABASE_URL=postgis://username:password@localhost:5432/database" > .env
echo "SECRET_KEY=[ Secret Key goes here ]" > .env
echo "GOOGLE_MAPS_API_KEY=[ Google API Key goes here ]" > .env
echo "REDIS_URL=[ Redis URL goes here ]" > .env