-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
267 lines (251 loc) · 9.85 KB
/
index.html
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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>volo</title>
<meta name="description"
content="volo is a javascript tool creating web projects, adding dependencies and automating tasks">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="icon" type="image/png" href="favicon.png" />
<link rel="stylesheet" href="css/app.css">
<script type="text/javascript">
/*
(function() {
var config = {
kitId: 'awa0aad',
scriptTimeout: 3000
};
var h=document.getElementsByTagName("html")[0];h.className+=" wf-loading";var t=setTimeout(function(){h.className=h.className.replace(/(\s|^)wf-loading(\s|$)/g," ");h.className+=" wf-inactive"},config.scriptTimeout);var tk=document.createElement("script"),d=false;tk.src='//use.typekit.net/'+config.kitId+'.js';tk.type="text/javascript";tk.async="true";tk.onload=tk.onreadystatechange=function(){var a=this.readyState;if(d||a&&a!="complete"&&a!="loaded")return;d=true;clearTimeout(t);try{Typekit.load(config)}catch(b){}};var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(tk,s)
})();
*/
</script>
</head>
<body>
<div class="logo">
<span class="logoText">volo</span>
<span class="latestVersion"></span>
</div>
<div class="content">
<div class="headline">
Are you tired of repeating yourself when building web sites?
<strong>volo</strong> is a tool which lets you
quickly <strong>create</strong> projects, <strong>add</strong>
libraries, and <strong>automate</strong> common tasks using
<a href="http://www.nodejs.org/">node</a> and
JavaScript.
</div>
<div class="install">
<h4>Get started now:</h4>
<pre><code>npm install -g volo</code></pre>
</div>
<div class="features">
<div id="create" class="feature">
<h3><a href="#create">Create</a></h3>
<div class="summary">
Use a zipball from an existing GitHub repo, URL,
or a local file path as a template for your new project.
</div>
<div class="pair">
<div class="explain">
Create 'foo' project with volo's default template
</div>
<div class="example">
<pre><code>volo create foo</code></pre>
</div>
</div>
<div class="pair">
<div class="explain">
Create 'foo' from h5bp/html5-boilerplate v4.0.0 GitHub zipball
</div>
<div class="example">
<pre><code>volo create foo h5bp/html5-boilerplate/4.0.0</code></pre>
</div>
</div>
<div class="pair">
<div class="explain">
Create 'foo' from zipball URL
</div>
<div class="example">
<pre><code>volo create foo http://mozilla.github.com/mortar/builds/app-stub.zip</code></pre>
</div>
</div>
<div class="summary more">
<a href="https://github.com/volojs/volo/blob/master/commands/create/doc.md">more about create</a>
</div>
</div>
<div id="add" class="feature">
<h3><a href="#add">Add</a></h3>
<div class="summary">
Quickly add javascript libraries by using a search term,
GitHub identifier, or raw URL.
</div>
<div class="pair">
<div class="explain">
Queries github for 'jquery', then downloads latest version
</div>
<div class="example">
<pre><code>volo add jquery</code></pre>
</div>
</div>
<div class="pair">
<div class="explain">
Adds backbone as well as underscore and jquery
</div>
<div class="example">
<pre><code>volo add backbone</code></pre>
</div>
</div>
<div class="pair">
<div class="explain">
Uses <a href="https://github.com/isaacs/node-semver">semver</a>
to add latest 2.x version of requirejs
</div>
<div class="example">
<pre><code>volo add requirejs/~2</code></pre>
</div>
</div>
<div class="pair">
<div class="explain">
Add the amdjs github group's version of backbone
</div>
<div class="example">
<pre><code>volo add amdjs/backbone</code></pre>
</div>
</div>
<div class="summary more">
<a href="https://github.com/volojs/volo/blob/master/commands/add/doc.md">more about add</a>
</div>
</div>
<div id="automate" class="feature">
<h3><a href="#automate">Automate</a></h3>
<div class="summary">
Quickly code up project automation using a volofile and JavaScript.
Reuse automation commands by publishing/installing from npm.
</div>
<div class="summary sub">
<strong>Simple automation</strong>: Create a
<code>volofile</code> in your project's top-level directory. This
file is just a node module that defines a property for each
automation task. npm install reusable command line functions.
</div>
<div class="pair">
<div class="explain">
npm install local tools to use in volofile
</div>
<div class="example">
<pre><code>npm install jshint uglify-js</code></pre>
</div>
</div>
<div class="pair">
<div class="explain">
Simple volofile that cleans, lints and uglifies
</div>
<div class="example">
<pre><code>module.exports = {
clean: {
summary: 'removes a.min.js',
run: 'v.rm a.min.js'
},
lint: {
summary: 'runs jshint on a.js',
run: 'n.jshint a.js'
},
uglify: {
summary: 'minifies a.js to a.min.js',
depends: ['clean', 'lint'],
run: 'n.uglifyjs -o a.min.js a.js'
}
};</code></pre>
</div>
</div>
<div class="summary more">
<a href="https://github.com/volojs/volo/wiki/Creating-a-volofile">more about volofiles</a>
</div>
<div class="summary sub">
<strong>Deploy straight to github</strong>: If your site
is all client-side, you can publish to github with one
command. Your site is live within seconds.
</div>
<div class="pair">
<div class="explain">
Install the reusable volofile command, volo-ghdeploy
</div>
<div class="example">
<pre><code>npm install volo-ghdeploy</code></pre>
</div>
</div>
<div class="pair">
<div class="explain">
Add an entry to your project's volofile to use it
</div>
<div class="example">
<pre><code>module.exports = {
ghdeploy: require('volo-ghdeploy')('built', 'deployed')
}</code></pre>
</div>
</div>
<div class="pair">
<div class="explain">
Now deploying to GitHub is a single command
</div>
<div class="example">
<pre><code>volo ghdeploy</code></pre>
</div>
</div>
<div class="summary more">
<a href="https://github.com/volojs/volo-ghdeploy">more about volo-ghdeploy</a>
</div>
</div>
<div class="feature">
<div class="summary sub">
<strong>Manage the appcache</strong>: Make or update an
appcache with one simple command. Never worry about adding
files or changing the appcache version again.
</div>
<div class="pair">
<div class="explain">
Install the reusable volofile command, volo-appcache
</div>
<div class="example">
<pre><code>npm install volo-appcache</code></pre>
</div>
</div>
<div class="pair">
<div class="explain">
Add an entry to your project's volofile to use it
</div>
<div class="example">
<pre><code>module.exports = {
appcache: require('volo-appcache')({
dir: 'www-built'
})
}</code></pre>
</div>
</div>
<div class="pair">
<div class="explain">
Now generating the appcache is a single command
</div>
<div class="example">
<pre><code>volo appcache</code></pre>
</div>
</div>
<div class="summary more">
<a href="https://github.com/volojs/volo-appcache">more about volo-appcache</a>
</div>
</div>
<div id="learnmore" class="feature">
<h3><a href="#learnmore">Learn more</a></h3>
<div class="summary">
<ul>
<li><a href="https://github.com/volojs/volo">GitHub repo</a></li>
<li><a href="https://github.com/volojs/volo/wiki/Library-best-practices">How to add your library to volo</a></li>
<li><a href="http://groups.google.com/group/volojs">Discussion list</a></li>
<li><a href="https://github.com/volojs/volo/issues">File an issue</a></li>
</ul>
</div>
</div>
</div>
</div>
</body>
</html>