Switch branches/tags
Nothing to show
Find file History
Pull request Compare This branch is 11 commits ahead, 4 commits behind akollegger:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
public
views
Gemfile
Gemfile.lock
README.md
config.ru
detachme.sh
graphapp.rb

README.md

Neo4j on Heroku with Sinatra using Neography

This is a tiny little Neo4j application, a 'seed' ready to grow into graph-powered glory.

Clone, Build and Go!

  1. Get Neo4j
  2. Get this seed app
    • git clone https://github.com/akollegger/neo4j-heroku-seeds.git
    • cd neo4j-heroku-seeds/ruby/sinatra-neography
  3. Prepare the app
    • bundle install
  4. Run it locally

Deploying to Heroku

  1. Got Heroku? Get it
  2. Heroku'ify the seed application
    • use the detachme.sh script to make the subdir into a separate repository: sh detachme.sh
    • create the heroku app: heroku create
  3. Provision Neo4j Add-on
    • heroku addons:add neo4j
    • Give the database a minute to start up
  4. Deploy to Heroku
    • git push heroku master
  5. Make sure that it launched successfully
    • heroku ps
    • Any problems? Check heroku logs
  6. Browse your application
    • heroku open