Skip to content
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.

thanks and heroku notes #234

Open
laurelnaiad opened this issue Sep 28, 2013 · 2 comments
Open

thanks and heroku notes #234

laurelnaiad opened this issue Sep 28, 2013 · 2 comments

Comments

@laurelnaiad
Copy link
Contributor

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 ;)

@iancrowther
Copy link

such a useful snippet! thanks @stu-salsbury

@richtera
Copy link
Collaborator

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants