Last active
August 6, 2016 07:58
-
-
Save deps/6028795 to your computer and use it in GitHub Desktop.
A reminder to myself and anyone wanting to use Sinatra on Nitrous.IO
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'sinatra' | |
# Set port for compatability with Nitrous.IO | |
configure :development do | |
set :bind, '0.0.0.0' | |
set :port, 3000 # Not really needed, but works well with the "Preview" menu option | |
end | |
get '/' do | |
"Sinatra on Nitrous.IO" | |
end | |
Thanks!
It works!! Thank you!
Thanks , working fine!
There a way to have Nitrous open to public internet for dev?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you so much ! works perfectly