Hegwin.Me
In silence I feel full; With speech I sense emptiness.
Home
Tools
WoW Battle Pet
Meow Etymons
About
How to develop Sinatra project
如何Sinatra部署项目
Ruby
Sinatra
Jan 08, 2013
Sinatra, like Rails, is a rack-based application. Before deployment, add a config.ru file to the root of the sinatra project with the following contents require "myapp" # the main project file run Sinatra::Application # If it is a defined subclass, use the name of the class you defined directly. After this, the process is basically the same as deploying rails,...