calipso
calipso copied to clipboard
thanks and heroku notes
Thanks @richtera, @cliftonc and all. I just got myself successfully deployed to heroku. Nothing much to see there ( http://salsbury.io ) yet, but it works.
For posterity and potential inclusion in a FAQ somewhere, I was able to deploy with this Procfile:
web: node app.js
I also did the following to my package.json:
"engines": {
"node": "0.10.x",
"npm": "1.2.x"
},
// removed scripts property
dependencies: {
// added to dependencies instead of manual .sh-based install:
"mongodb": "~1.3.19"
}
I wonder if the .sh-based install of mongodb driver is no longer necessary?
EDIT: funny, I just temporarily broke my DNS settings -- for now its http://salsbury-io.herokuapp.com ;)
such a useful snippet! thanks @stu-salsbury
You guys might to monitor your database. The nodejitsu instance's db just ran close to 500M because of the session table not being cleared of old sessions. Will need to figure this out but I just cleared the session table by hand.