Hegwin.Me

Time doth transfix the flourish set on youth. And delves the parallels in beauty's brow.

How to develop Sinatra project

如何Sinatra部署项目

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,...