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.
- Create a new app on Heroku.
git remote add heroku git@heroku.com:yourherokuapp.git
heroku config:add BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-ruby.git
heroku config:set RACK_ENV=production
heroku config:set INSTAGRAM_CLIENT_ID=your_instagram_client_id
heroku config:set LOCAL_STORAGE_KEY=instavibrant
heroku config:set FRONT_END_URI=url_to_your_heroku_app
git push heroku master
heroku ps:scale web=1
./deploy.sh
- Vibrant.js for color extraction.
- TinyColor for determining readability of colors.