summasmiff / instavibrant

Vibrant.js color extraction + your Instagram photos

Home Page:http://instavibrant.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Vibrant.js color extraction + your Instagram photos

http://instavibrant.herokuapp.com/

License:MIT License


Languages

Language:JavaScript 73.2%Language:CSS 25.5%Language:HTML 0.9%Language:Ruby 0.4%Language:Shell 0.0%