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

Enable Heroku hosting support by adding a port option. #2

Merged
merged 2 commits into from Feb 28, 2012

Conversation

nuclearsandwich
Copy link
Contributor

The binary now takes a -p $PORT or --port $PORT option which is passed to the Rack server. This adds the ability to host Deck on Heroku since without it Deck is not able to be passed the port number on Heroku.

There are no tests against the binary.

The option parsing introduces trollop as a dependency.

@alexch
Copy link
Owner

alexch commented Feb 26, 2012

Looks like you left some "puts ARGV"s in there. Otherwise looks great.

@nuclearsandwich
Copy link
Contributor Author

Hah, yeah, added this feature in about two minutes because I needed to deploy slides somewhere in 5. I'll clean it up and add a few more commits.

@nuclearsandwich
Copy link
Contributor Author

Removed the debug output. Sorry about that.

alexch added a commit that referenced this pull request Feb 28, 2012
Enable Heroku hosting support by adding a port option.
@alexch alexch merged commit d366b22 into alexch:master Feb 28, 2012
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

Successfully merging this pull request may close these issues.

None yet

2 participants