#Create a file named app.rb with the following code:
require 'sinatra'
get '/' do
'Hello World'
end
#Thats it. You have a fully functional website powered by sinatra
# to run, type at command prompt:
ruby app.rb
# Now open your favorite browser and type at the address bar, http://localhost:4567
No comments:
Post a Comment