Skip to content
Eugene Zhurakhovskiy edited this page Aug 29, 2014 · 5 revisions

To install it locally you'll need to:

  • Install OpenCV using your package manager or instructions from (openCV website)[http://opencv.org/downloads.html]
  • (optionally) Create virtualenv with --system-site-packages option enabled
  • Install package requirements using pip install -r requirements.txt
  • Create at least one OAuth2 keypair for social network of your choice so you can log in locally
  • Adjust your local_settings.py
  • Load some data into mongo using ./control.py batch \*.jpg. This will grab all jpegs from LOCAL_FS_SRC_DIR specified in settings and store information about shreds into mongo as well as store images of each individual shred on FS or S3
  • Run local copy using python app.py
  • Create yourself a user by going to http://localhost:5000 and log in via social network of your choice
  • Make your user an admin by running ./control.py admin add YOUR_EMAIL_ADDRESS
  • ...
  • Achievement unlocked

If you don't want to mess with computer vision part of the problem and install OpenCV and other unshred dependencies, please contact me and I'll provide you a dump of pre-populated DB with some shreds, images and OAuth2 credentials for localhost.

Clone this wiki locally