Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heroku deployment #122

Closed
victorbello opened this issue Apr 13, 2012 · 4 comments
Closed

Heroku deployment #122

victorbello opened this issue Apr 13, 2012 · 4 comments

Comments

@victorbello
Copy link

Hello,

I'm trying out a new deployment into heroku, can't seem to get geddy to run without issues.

I keep getting this error

Error R11 (Bad bind) -> Process bound to port 5768, should be 41113 (see environment variable PORT)

Procfile
web: geddy -p 5768

package.json
{ "name": "oskalisti", "version": "0.0.1", "dependencies": { "geddy": "0.3.20", "jake": "0.2.31" } }

Any help would be greatly appreciated. Thanks.

@techwraith
Copy link
Contributor

Looks like you need to use geddy -p $PORT or add port: process.env.PORT to your production.js config file.

@victorbello
Copy link
Author

Yeah, I forgot to post that here once I figured it out. That was the problem.

Now, I've changed the value on the init.js from "development" to "production" and it still loads the server with development configuration. Any idea why?

@techwraith
Copy link
Contributor

Make sure to start your server with geddy -e production. That tells geddy to use the production config file instead of the development one.

@victorbello
Copy link
Author

Oh. Good one. Thanks.

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

No branches or pull requests

2 participants