DZone
Database Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Database Zone > Getting Started with Heroku ToolBelt/Neo4j on Windows

Getting Started with Heroku ToolBelt/Neo4j on Windows

Romiko Derbynew user avatar by
Romiko Derbynew
·
Feb. 13, 12 · Database Zone · Interview
Like (0)
Save
Tweet
3.93K Views

Join the DZone community and get the full member experience.

Join For Free

hi guys,

to get started with heroku, you need a public key. if you do not have one in the

c:\users\<yourusername>\.ssh folder, then you get this error

d:/program files (x86)/heroku/lib/heroku/auth.rb:195:in `read’: no such file or
directory – c:/users/romiko/.ssh/id_rsa.pub (errno::enoent)
from d:/program files (x86)/heroku/lib/heroku/auth.rb:195:in `associate_key’

looking at the source code, line 195 is ssh key generation. so what we need to do is use a utility like gitbash to do this for us:

image


instructions

to get up and running with the heroku toolbelt on windows ensure you read:

http://devcenter.heroku.com/articles/quickstart

once you have read that and installed heroku toolbelt

http://assets.heroku.com/heroku-toolbelt/heroku-toolbelt.exe

then install git (or use the git bash if already installed)

http://msysgit.googlecode.com/files/git-1.7.8-preview20111206.exe

now, what you do is follow all the instructions here, you might as well ensure you have a github account, its nice to put your code in a repository if developing:

http://help.github.com/win-set-up-git/

you should then have these files (you might not have known hosts), if you did not connect into git

image


the heroku batch file will look for the id_rsa.pub file and use it to connect to the cloud servers.

once this is done, you can then go back to the heroku.cmd execution and login

d:\program files (x86)\heroku>heroku login
enter your heroku credentials.
email: romikov@gmail.com
password:
found existing public key: c:/users/romiko/.ssh/id_rsa.pub
uploading ssh public key c:/users/romiko/.ssh/id_rsa.pub
that is it, so hope this gets you started on heroku smile

neo4j

once you ran the above command, then create an application

create heroku applicaton in the cloud

d:\program files (x86)\heroku>heroku apps:create neo4jorbust
creating neo4jorbust… done, stack is bamboo-mri-1.9.2
http://neo4jorbust.heroku.com/ | git@heroku.com:neo4jorbust.git

notice the appname is lowercase always!

install neo4j addon

for this to work, you must verify the account and you will need a credit card, it will not be billed. don’t sue me if it does!

then for neo4j, just install the addon like so

d:\program files (x86)\heroku>heroku addons:add neo4j –app neo4jorbust
—–> adding neo4j to neo4jorbust… failed
!    please verify your account to install this add-on
!    for more information, see http://devcenter.heroku.com/categories/billing
!    confirm now at
https://heroku.com/confirm

go verify your account and then come back and run the command again

https://api.heroku.com/myapps

image


d:\program files (x86)\heroku>heroku addons:add neo4j –app neo4jorbust
—–> adding neo4j to neo4jorbust… done, (free)

image


thats it!

you can then go check your addons on the web site at heroku under resources. click databases and scroll to bottom.

image


notice neo4jtest and it is free smile lets enable it

image

notice, the urls for the webadmin site and rest url, you all set to work with neo4j now smile

thats it, have fun!

source: http://romikoderbynew.com/2012/01/25/getting-started-with-heroku-toolbelt-on-windows-2/

Neo4j

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • What Is Edge Compute? It’s Kind of Like Knitting Dog Hats
  • Revoking Access to JWTs With a Blacklist/Deny List
  • MACH Architecture Explained
  • Machine Learning in Cybersecurity

Comments

Database Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo