Skip to content
This repository has been archived by the owner on May 19, 2018. It is now read-only.
/ instavibrant Public archive

Vibrant.js color extraction + your Instagram photos

License

Notifications You must be signed in to change notification settings

cheshire137/instavibrant

Repository files navigation

Instavibrant

Screenshot

How to Run Locally

Register an Instagram client. Set your redirect URI to http://localhost:5000.

cp env.sh.example env.sh

Update env.sh with your Instagram client's details.

bundle install
npm install
npm start

Visit localhost:5000 in your browser.

How to Deploy to Heroku

First Time

  1. Create a new app on Heroku.
  2. git remote add heroku git@heroku.com:yourherokuapp.git
  3. heroku config:add BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-ruby.git
  4. heroku config:set RACK_ENV=production
  5. heroku config:set INSTAGRAM_CLIENT_ID=your_instagram_client_id
  6. heroku config:set LOCAL_STORAGE_KEY=instavibrant
  7. heroku config:set FRONT_END_URI=url_to_your_heroku_app
  8. git push heroku master
  9. heroku ps:scale web=1

After It Has Been Deployed Once

./deploy.sh

Thanks