public
Description: A simple, blogish software build with Sinatra, jQuery, and uses Git for data storage
Homepage: http://mattsears.github.com/aerial
Clone URL: git://github.com/mattsears/aerial.git
commit  4357a1594e32bbb1bff4b9f36ac9567425a5f598
tree    6c8e1e1b9163eb1659c2b775b4b6df263d95be4a
parent  fc85d5649fc02370adbef8db5df28c2438fec832
aerial / index.html
100644 165 lines (160 sloc) 4.91 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
    <title>aerial</title>
    <style type="text/css">
      /* reset */
      html, body, div, span, applet, object, iframe,
      h1, h2, h3, h4, h5, h6, p, blockquote, pre,
      a, abbr, acronym, address, big, cite, code,
      del, dfn, em, font, img, ins, kbd, q, s, samp,
      small, strike, strong, sub, sup, tt, var,
      dl, dt, dd, ul, li,
      form, label, legend,
      table, caption, tbody, tfoot, thead, tr, th, td {
         margin: 0;
         padding: 0;
         border: 0;
         outline: 0;
         font-weight: inherit;
         font-style: normal;
         font-size: 100%;
         font-family: inherit;
         vertical-align: baseline;
      }
      :focus {
         outline: 0;
      }
      body {
         line-height: 1;
            color: black;
      background: white;
      }
      ul {
         list-style: none;
      }
         table {
         border-collapse: collapse;
         border-spacing: 0;
      }
         caption, th, td {
         text-align: left;
         font-weight: normal;
      }
      blockquote:before, blockquote:after,
         q:before, q:after {
         content: "";
      }
      blockquote, q {
         quotes: "" "";
      }
 
      /* styles */
      body {
         font-family: Verdana,Arial,sans-serif;
         background: #f0f0f0;
         color: #333;
      }
      #inset {
         margin: 0 auto;
         width: 860px;
      }
      #container {
         background-color: #fff;
         color: #000;
         padding: 50px 100px;
      }
      p, h2 {
         margin: 20px 0;
      }
      p {
         line-height: 20px;
      }
      a {
      color: #000;
         text-decoration: none;
         font-weight: bold;
      }
      a:hover {
         color: #26B3CF;
      }
      h1 {
         /* Hide generated title */
         display: none;
      }
      h1.title {
         display: block;
         font-size: 3.8em;
         margin-bottom: 3px;
      }
      h1.title .small {
         font-size: 0.4em;
      }
      h1 a {
         font-weight: normal;
      }
      h2 {
         font-size: 1.5em;
      }
      li {
         padding-bottom: 10px;
      }
      .ribbon {
         float: right;
      }
      .description {
         font-size: 1.2em;
         margin-bottom: 30px;
         margin-top: 30px;
         font-style: italic;
      }
      pre {
         background: #444;
         color: #fff;
         font-family:'Bitstream Vera Sans Mono','Courier',monospace;
         padding: 15px;
         -moz-border-radius: 5px;
         -webkit-border-radius: 5px;
      }
    </style>
  </head>
  <body>
    <div id="inset">
      <a href="http://github.com/mattsears/aerial">
        <img class="ribbon" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" />
      </a>
      <div id="container">
        <div class="description">
          Aerial uses Git to store articles and pages.
        </div>
        <h1>Aerial</h1>
        <p>Designed for Ruby developers, there is no admin interface and no SQL database. Articles are written in your favorite text editor and versioned with Git. Comments are also stored as plain-text files and pushed to the remote repository when created. It uses Grit (http://github.com/mojombo/grit) to interface with local and remote Git repositories.</p>
        <h2>Installation</h2>
 
        <p>via Rubygems:</p>
        <pre><code>$ gem install aerial
$ aerial install /home/user/myblog</code></pre>
        <p>This will create a couple files and directories. Mainly, the views, public, and configuration files. You may edit config.yml to your liking</p>
        <p>The installer provides special configuration files for Thin and Passenger.</p>
        <p>via Clone:</p>
        <pre><code>$ git clone git://github.com/mattsears/aerial</code></pre>
 
        <h2>Pasenger</h2>
        <pre><code>$ aerial install /home/user/myblog --passenger
$ cd /home/user/myblog</code></pre>
        <p>Then, restart Passenger <b>$ touch tmp/restart.txt</b></p>
        <h2>Thin</h2>
        <p>Install Thin:</p>
        <pre><code>$ gem install thin</code></pre>
        <p>Run the installer:</p>
        <pre><code>$ aerial install /home/user/myblog --thin
$ cd /home/user/myblog</code></pre>
        <p>Tweak the thin.yml</p>
        <p>Start the thin server</p>
        <pre><code>$ thin -C thin.yml -R config.ru start</code></pre>
        <h2>Issues</h2>
        <p>Find a bug? Want a feature? Submit an <a href="http://github.com/mattsears/aerial/issues">issue here</a>. Patches welcome!
        </p
      </div>
    </div>
  </body>
</html>