1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
6 <meta http-equiv=
"Content-type" content=
"text/html; charset=utf-8">
7 <title>Sinatra : Classy web-development dressed in a DSL
</title>
11 <style type=
"text/css" media=
"screen">
13 background-color: #fff;
26 background-color: #F5F6C9;
50 <img src='logo.png'
/>
51 <h2><em>Classy web-development dressed in a DSL
</em></h2>
53 <div class=
"clear"></div>
57 <strong>Install!
</strong><br/>
58 <pre>gem install sinatra -y
</pre>
61 <strong>Require!
</strong> (any filename you wish)
<br/>
65 require 'sinatra'
</pre>
66 <note>yup.. that's it for a sec
</note><br />
69 <strong>Run!
</strong><br />
70 <pre>ruby lyrics.rb
</pre>
73 <strong>Bask!
</strong><br />
74 <pre>http://localhost:
4567</pre>
77 <strong>Write!
</strong>
80 "Now that's a fine looking dame!"
84 <strong>Examples!
</strong><br />
85 <pre><a href=
"http://repo.or.cz/w/sinatra.git?a=tree;f=examples;h=fd7513e49762738ad945adbb2e15bb31528b4207;hb=HEAD">here
</a></pre>
88 <strong>Contribute!
</strong><br />
89 <pre><a href=
"http://repo.or.cz/w/sinatra.git">using git
</a></pre>
92 <strong>Docs!
</strong><br />
93 <pre><a href=
"http://sinatra.rubyforge.org/doc/">here
</a></pre>