sinatra

How I setup Sinatra with Rake on Thin server and deployed it with Capistrano via GitHub

Here comes the tale of Sinatra’s deployment.

Note: I will pretend your project is in ~/myapp for these examples.

Note: I will also assume you’re using TextMate for file editing.

Step 1. Directory structure. Boring.

In this step we’re gonna setup a directory structure. The only reason you’re brutally forced to stick with this particular directory structure is no [...]