Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Heroku deployment #122

Closed
The82ndDoctor opened this Issue · 4 comments

2 participants

@The82ndDoctor

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
Owner

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

@The82ndDoctor

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
Owner

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

@The82ndDoctor

Oh. Good one. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.