This repository has been archived by the owner. It is now read-only.
JavaScript CSS HTML Ruby Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
dist
.bowerrc
.editorconfig
.gitignore
.jshintrc
Gemfile
Gemfile.lock
LICENSE.txt
Procfile
Procfile.dev
README.md
app.rb
bower.json
config.ru
deploy.sh
env.sh.example
gulpfile.js
package.json
preprocessor.js
screenshot.png

README.md

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