imkevinxu / lightning

Photo Hack Day SF 2012

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lightning

Originally created for Photo Hack Day 3 by Wylie Conlon, Katherine Chen, Wesley Leung, and Kevin Xu.

Todo

  1. Two-way contact
  2. Profile page design
  3. Photo picker after invite
  4. Get photographers to sign up
  • "Hover over picture" on homepage to uncover more pics
  • Profile information is too below the fold
  • More control over hero slider
  • All assets still on 500px cdn
  • Email verification/confirmation
  • CSS/JS is a mess

Main Files

lightning_app/ - main app folder

lightning_app/management - contains various command line scripts

lightning_app/migrations - contains various migration scripts auto-generated by south. DO NOT TOUCH

lightning_app/static - currently uses css/js/img assets from here for local dev but amazon s3 for production

lightning_app/appurls.py - main urls file

lightning_app/views.py - main views "controller" file

templates/ - contains templates for the various views

Instructions

probably missing steps

Setup

workon lightning    //requires proper virtualenv setup
pip install -r requirements.txt
python manage.py syncdb    //only first time
python manage.py migrate lightning_app

Populating DB with top photographers

python manage.py populatedb

Deploying to Heroku

git push heroku master
heroku run python manage.py collectstatic

About

Photo Hack Day SF 2012


Languages

Language:Python 60.9%Language:JavaScript 39.1%