-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
520 lines (481 loc) · 24 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
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>RupertJS</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<link rel="stylesheet" href="styles.css">
</head>
<body data-spy="scroll" data-target="#navbar-main">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-main">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">
<!-- <img class="brand" src="https://cdn.rawgit.com/RupertJS/rupert/master/src/assets/logos/Rupert.svg" type="image/svg+xml" /> -->
<img class="brand" src="./Rupert.svg" type="image/svg+xml" />
<!-- RupertJS -->
</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="navbar-main">
<ul class="nav navbar-nav">
<li><a href="#overview">Overview</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Examples <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="#basic">Basic</a></li>
<li><a href="#api">API</a></li>
<li><a href="#mongo">Storage</a></li>
<li><a href="#auth">Authentication</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#starters" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Starter Projects <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="#bare">Bare</a></li>
<li><a href="#vanilla">Vanilla</a></li>
<li><a href="#angular">Angular</a></li>
</ul>
</li>
</ul>
</div><!-- /.navbar-collapse -->
<a href="https://github.com/RupertJS/rupert" target="_blank"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"></a></li>
</div><!-- /.container-fluid -->
</nav>
<div class="jumbotron">
<div class="container">
<div class="row">
<div class="col-sm-4 logo">
<img src="./Rupert.svg" type="image/svg+xml" />
</div>
<div class="col-sm-8">
<div class="page-header">
<h1>Rupert<br /><small>A friendly front-edge Javascript librarian</small></h1>
</div>
<p>Taking the best ideas of the MEAN stack and making them extensible. Start with an Express server. Use the best Node APIs. Choose Angular, or any other front-end framework. Store data in Mongo. Or Postgress. Or the cloud - Rupert hooks it up, and leaves the rest to you.</p>
<!-- Javascript libraries, top to bottom. Your team can focus on building immersive experiences, while seamlessly orchestrating a myriad of backend services. Rupert handles the wiring. -->
<!-- While Rupert itself provides tools to create both SPAs and backend APIs, its flexible and powerful plugin architecture provides ways to quickly configure your client side framework, manage database connections, and integrate with numerous service providers. -->
<!-- Additionally, <a href="https://github.com/RupertJS/rupert-grunt#rupert-grunt">Rupert Grunt<a/> provides a complete testing environment for your Rupert code, and <a href="https://github.com/RupertJS/rupert-doorman#rupert-doorman">Rupert Doorman streamlines user management through third-party authentication services. -->
</p>
<div class="row">
<div class="col-sm-6 col-sm-offset-2">
<a id="download_vanilla" href="https://github.com/RupertJS/rupert-grunt/raw/master/dist/vanilla.zip" class="btn btn-success btn-lg">Download Vanilla Starter</a>
</div>
</div>
</div>
</div>
</div>
<div id="overview"></div>
</div>
<div class="container">
<div class="row">
<div class="col-xs-4">
<h3 class="text-center">Why Rupert?</h3>
<p>Rupert comes configured for all common frond-edge scenarios. Using Rupert as a project base will save you time and effort getting a project started, maintaining critical updates, and deploying to your final infrastructure.</p>
<!-- <p></p> -->
</div>
<div class="col-xs-4">
<h3 class="text-center">Alternatives</h3>
<p>Some tools focus specifically on one aspect of the front-edge development system. Others create unmaintainable webs of copy-pasted configuration and connection files. Rupert chooses the best defaults, while getting out of the way when you want control.</p>
</div>
<div class="col-xs-4">
<h3 class="text-center">Plugins</h3>
<p>Rupert's powerful plugin and configuration system allow any tool to intelligently and effortlessly tie in to the Rupert client and server components. Plugins exist for common front-end frameworks including <a href="https://github.com/RupertJS/rupert-plugin-bootstrap#rupert-bootstrap-configurations">Bootstrap</a> and <a href="https://github.com/RupertJS/rupert-plugin-angular#rupert-angular-configurations">Angular</a>, as well as databases like <a href="https://github.com/RupertJS/rupert-plugin-mongo#rupert-plugin-mongo">MongoDB</a>.</p>
</div>
</div>
</div>
<hr />
<div class="jumbotron">
<div class="container">
<div class="row content-section">
<div class="col-sm-12">
<h2 id="examples">Sounds Great. What does it look like?</h3>
<p class="lead">These examples show Rupert applications that do variations on a theme. Starting with a "Hello, user!", the examples add a backend API, data persistence, and integration with a third-party authentication library.</p>
</div>
</div>
</div>
</div>
<div id="basic"></div>
<div class="container">
<div class="row content-section">
<div class="col-sm-12">
<h3>The Basics</h3>
<p class="lead">Rupert renders all code in <code>./src/client</code> as a single page application, and serves the resulting static assets.</p>
</div>
</div>
<div class="row">
<div class="col-md-8">
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active"><a href="#basic" aria-controls="basic_package" role="tab" data-toggle="tab" data-target="#basic_package">package.json</a></li>
<li role="presentation"><a href="#basic" aria-controls="basic_app" role="tab" data-toggle="tab" data-target="#basic_app">app.js</a></li>
<li role="presentation"><a href="#basic" aria-controls="basic_index" role="tab" data-toggle="tab" data-target="#basic_index">src/client/index.html</a></li>
<li role="presentation"><a href="#basic" aria-controls="basic_main" role="tab" data-toggle="tab" data-target="#basic_main">src/client/main.js</a></li>
</ul>
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="basic_package">
<script src="https://gist.github.com/DavidSouther/dd843dc33acbc9bcb25f.js?file=package.json"></script>
</div>
<div role="tabpanel" class="tab-pane" id="basic_app">
<script src="https://gist.github.com/DavidSouther/dd843dc33acbc9bcb25f.js?file=app.js"></script>
</div>
<div role="tabpanel" class="tab-pane" id="basic_index">
<script src="https://gist.github.com/DavidSouther/dd843dc33acbc9bcb25f.js?file=index.html"></script>
</div>
<div role="tabpanel" class="tab-pane" id="basic_main">
<script src="https://gist.github.com/DavidSouther/dd843dc33acbc9bcb25f.js?file=main.js"></script>
</div>
</div>
</div>
<div class="col-md-4">
<iframe src="https://rupert-ghpages-examples-basic.herokuapp.com/" height="250px"></iframe>
</div>
</div>
<div id="api"></div>
<hr />
<div class="row content-section">
<div class="col-sm-12">
<h3>Simple API</h3>
<p class="lead">Rupert loads the API routes in <code>./src/server</code> and remembers the people introduced.</p>
</div>
</div>
<div class="row">
<div class="col-xs-4">
<h4 class="text-center">HTML, JS, CSS</h4>
<p>Everything in Rupert uses the HTML, Javascript, and CSS technologies your team knows. Any library not available as a Rupert plugin can be included via CDN.</p>
</div>
<div class="col-xs-4">
<h4 class="text-center">Express JS</h4>
<p>Rupert uses the powerful and flexible <a href="http://expressjs.com/">ExpressJS</a> platform. Rupert handles all configuration for express, including logging and TLS/HTTPS.</p>
</div>
<div class="col-xs-4">
<h4 class="text-center">API Focused</h4>
<p>Your team can focus on writing just your application's API. As the project grows to include other delivery platforms, rest easy knowing your data API is built on a scalable platform.</p>
</div>
</div>
<div class="row">
<div class="col-md-8">
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active"><a href="#api" aria-controls="api_package" role="tab" data-toggle="tab" data-target="#api_package">package.json</a></li>
<li role="presentation"><a href="#api" aria-controls="api_app" role="tab" data-toggle="tab" data-target="#api_app">app.js</a></li>
<li role="presentation"><a href="#api" aria-controls="api_index" role="tab" data-toggle="tab" data-target="#api_index">src/client/index.html</a></li>
<li role="presentation"><a href="#api" aria-controls="api_main" role="tab" data-toggle="tab" data-target="#api_main">src/client/main.js</a></li>
<li role="presentation"><a href="#api" aria-controls="api_route" role="tab" data-toggle="tab" data-target="#api_route">src/server/route.js</a></li>
</ul>
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="api_package">
<script src="https://gist.github.com/DavidSouther/501ae1368bee62025a75.js?file=package.json"></script>
</div>
<div role="tabpanel" class="tab-pane" id="api_app">
<script src="https://gist.github.com/DavidSouther/501ae1368bee62025a75.js?file=app.js"></script>
</div>
<div role="tabpanel" class="tab-pane" id="api_index">
<script src="https://gist.github.com/DavidSouther/501ae1368bee62025a75.js?file=index.html"></script>
</div>
<div role="tabpanel" class="tab-pane" id="api_main">
<script src="https://gist.github.com/DavidSouther/501ae1368bee62025a75.js?file=main.js"></script>
</div>
<div role="tabpanel" class="tab-pane" id="api_route">
<script src="https://gist.github.com/DavidSouther/501ae1368bee62025a75.js?file=route.js"></script>
</div>
</div>
</div>
<div class="col-md-4">
<iframe src="https://rupert-ghpages-examples-api.herokuapp.com/" height="250px"></iframe>
</div>
</div>
<div id="mongo"></div>
<hr />
<div class="row content-section">
<div class="col-sm-12">
<h3>Plugin Providers</h3>
<p class="lead">Rupert's plugin mechanism lets you quickly add both front-end and back-end dependencies. In this example, the Mongo plugin persists the greetings across server resets and instances.</p>
</div>
</div>
<div class="row">
<div class="col-xs-4">
<h4 class="text-center">Frontend</h4>
<p>Directly integrate frontend vendors in your application bundle, minimizing number of files your page loads.</p>
</div>
<div class="col-xs-4">
<h4 class="text-center">Backend</h4>
<p>Quickly configure database connections, which will be available whenever your server API routes are executed.</p>
</div>
<div class="col-xs-4">
<h4 class="text-center">Configurable Utilities</h4>
<p>The Rupert Mongo plugin allows rapid prototyping, by exposing a REST API behind a single configuration flag.</p>
</div>
</div>
<div class="row">
<div class="col-md-8">
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active"><a href="#mongo" aria-controls="mongo_package" role="tab" data-toggle="tab" data-target="#mongo_package">package.json</a></li>
<li role="presentation"><a href="#mongo" aria-controls="mongo_app" role="tab" data-toggle="tab" data-target="#mongo_app">app.js</a></li>
<li role="presentation"><a href="#mongo" aria-controls="mongo_index" role="tab" data-toggle="tab" data-target="#mongo_index">src/client/index.html</a></li>
<li role="presentation"><a href="#mongo" aria-controls="mongo_main" role="tab" data-toggle="tab" data-target="#mongo_main">src/client/main.js</a></li>
<li role="presentation"><a href="#mongo" aria-controls="mongo_route" role="tab" data-toggle="tab" data-target="#mongo_route">src/server/route.js</a></li>
</ul>
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="mongo_package">
<script src="https://gist.github.com/DavidSouther/a906828ae144dfa7194d.js?file=package.json"></script>
</div>
<div role="tabpanel" class="tab-pane" id="mongo_app">
<script src="https://gist.github.com/DavidSouther/a906828ae144dfa7194d.js?file=app.js"></script>
</div>
<div role="tabpanel" class="tab-pane" id="mongo_index">
<script src="https://gist.github.com/DavidSouther/a906828ae144dfa7194d.js?file=index.html"></script>
</div>
<div role="tabpanel" class="tab-pane" id="mongo_main">
<script src="https://gist.github.com/DavidSouther/a906828ae144dfa7194d.js?file=main.js"></script>
</div>
<div role="tabpanel" class="tab-pane" id="mongo_route">
<script src="https://gist.github.com/DavidSouther/a906828ae144dfa7194d.js?file=route.js"></script>
</div>
</div>
</div>
<div class="col-md-4">
<iframe src="https://rupert-ghpages-example-mongo.herokuapp.com/" height="275px"></iframe>
</div>
</div>
<div id="auth"></div>
<hr />
<div class="row content-section">
<div class="col-sm-12">
<h3>Rupert Doorman</h3>
<p class="lead">Rupert doorman is a core module to handle third-party and integrated user authentication workflows. Simply install the appropriate passport providers, and add your client secrets to the Rupert configuration.</p>
</div>
</div>
<div class="row">
<div class="col-xs-4">
<h4 class="text-center">Passport Providers</h4>
<p>Building on the popular <a href="http://passportjs.org/">Passport</a> library, you can use any supported authentication strategy.</p>
</div>
<div class="col-xs-4">
<h4 class="text-center">Storage</h4>
<p>Provide your own storage mechanism, do extend and enhance user management in a way that works best for your application's logic.</p>
</div>
<div class="col-xs-4">
<h4 class="text-center">More soon!</h4>
<p>This is the freshest piece of Rupert - expect to see streamlined storage mechanisms and improved strategy integration soon!</p>
</div>
</div>
<div class="row">
<div class="col-md-8">
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active"><a href="#mongo" aria-controls="auth_package" role="tab" data-toggle="tab" data-target="#auth_package">package.json</a></li>
<li role="presentation"><a href="#mongo" aria-controls="auth_app" role="tab" data-toggle="tab" data-target="#auth_app">app.js</a></li>
<li role="presentation"><a href="#mongo" aria-controls="auth_index" role="tab" data-toggle="tab" data-target="#auth_index">src/client/index.html</a></li>
<li role="presentation"><a href="#mongo" aria-controls="auth_main" role="tab" data-toggle="tab" data-target="#auth_main">src/client/main.js</a></li>
<li role="presentation"><a href="#mongo" aria-controls="auth_route" role="tab" data-toggle="tab" data-target="#auth_route">src/server/route.js</a></li>
</ul>
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="auth_package">
<script src="https://gist.github.com/DavidSouther/3813d37375bd072f8bae.js?file=package.json"></script>
</div>
<div role="tabpanel" class="tab-pane" id="auth_app">
<script src="https://gist.github.com/DavidSouther/3813d37375bd072f8bae.js?file=app.js"></script>
</div>
<div role="tabpanel" class="tab-pane" id="auth_index">
<script src="https://gist.github.com/DavidSouther/3813d37375bd072f8bae.js?file=index.html"></script>
</div>
<div role="tabpanel" class="tab-pane" id="auth_main">
<script src="https://gist.github.com/DavidSouther/3813d37375bd072f8bae.js?file=main.js"></script>
</div>
<div role="tabpanel" class="tab-pane" id="auth_route">
<script src="https://gist.github.com/DavidSouther/3813d37375bd072f8bae.js?file=route.js"></script>
</div>
</div>
</div>
<div class="col-md-4">
<iframe src="https://rupert-ghpages-auth.herokuapp.com/" height="275px"></iframe>
</div>
</div>
</div>
<div id="starters"></div>
<hr />
<div class="jumbotron">
<div class="container">
<div class="row content-section">
<div class="col-sm-12">
<h2>Starter Projects</h3>
<p class="lead">While the example projects are an exercise in minimalism, Rupert has several started projects with various plugins pre-configured.</p>
</div>
</div>
</div>
</div>
<div id="vanilla"></div>
<div class="container">
<div class="row content-section">
<div class="col-sm-12">
<h3>Vanilla</h3>
<p class="lead">The Vanilla starter project is a pre-zipped and complete "Hello" application, from the example here.</p>
</div>
</div>
<div class="row">
<ol>
<li>Create a new project.
<ol>
<li>On Github, set the name and description. Generate a Readme and license.</li>
<li>Clone the project from GitHub.</li>
</ol>
</li>
<li>Unpack the seed app:
<ul>
<li>
<code>curl https://raw.githubusercontent.com/RupertJS/rupert-grunt/master/dist/vanilla.tgz | tar x</code>
<ul>
<li>or download and extract manually (files are in the root of the package, be warned) (<a href="https://raw.githubusercontent.com/RupertJS/rupert-grunt/master/dist/vanilla.tgz">tar</a>) (<a href="https://raw.githubusercontent.com/RupertJS/rupert-grunt/master/dist/vanilla.zip">zip</a>).</li>
<li>See <a href="https://github.com/RupertJS/rupert-grunt/tree/master/examples/vanilla">the source directory here</a>.</li>
</ul>
</li>
<li><code>npm init</code>
<ul>
<li>You will be prompted for a project name, license, etc.</li>
<li>While npm is smart in initialization, you can set a name, etc in your <a href="https://www.npmjs.org/doc/misc/npm-config.html#config-settings">npmrc</a> if you create packages often.</li>
</ul>
</li>
<li><code>npm install</code></li>
</ul>
</li>
</ol>
</div>
<div id="bare"></div>
<hr />
<div class="row content-section">
<div class="col-sm-12">
<h3>Bare</h3>
<p class="lead">The Bare starter project is the bare-minimum reasonable starter. It contains no plugins, only the most basic configuration, and no functionality.</p>
</div>
</div>
<div class="row">
<ol>
<li>Create a new project.
<ol>
<li>On Github, set the name and description. Generate a Readme and license.</li>
<li>Clone the project from GitHub.</li>
</ol>
</li>
<li>Unpack the seed app:
<ul>
<li>
<code>curl https://raw.githubusercontent.com/RupertJS/rupert-grunt/master/dist/bare.tgz | tar x</code>
<ul>
<li>or download and extract manually (files are in the root of the package, be warned) (<a href="https://raw.githubusercontent.com/RupertJS/rupert-grunt/master/dist/bare.tgz">tar</a>) (<a href="https://raw.githubusercontent.com/RupertJS/rupert-grunt/master/dist/bare.zip">zip</a>).</li>
<li>See <a href="https://github.com/RupertJS/rupert-grunt/tree/master/examples/bare">the source directory here</a>.</li>
</ul>
</li>
<li><code>npm init</code>
<ul>
<li>You will be prompted for a project name, license, etc.</li>
<li>While npm is smart in initialization, you can set a name, etc in your <a href="https://www.npmjs.org/doc/misc/npm-config.html#config-settings">npmrc</a> if you create packages often.</li>
</ul>
</li>
<li><code>npm install</code></li>
</ul>
</li>
</ol>
</div>
<div id="angular"></div>
<hr />
<div class="row content-section">
<div class="col-sm-12">
<h3>Angular</h3>
<p class="lead">The Angular starter project has plugins and configurations for AngularJS projects. It also has some basic Angular functionality, loading a single module and service to control the HTML title.</p>
</div>
</div>
<div class="row">
<ol>
<li>Create a new project.
<ol>
<li>On Github, set the name and description. Generate a Readme and license.</li>
<li>Clone the project from GitHub.</li>
</ol>
</li>
<li>Unpack the seed app:
<ul>
<li>
<code>curl https://raw.githubusercontent.com/RupertJS/rupert-grunt/master/dist/angular.tgz | tar x</code>
<ul>
<li>or download and extract manually (files are in the root of the package, be warned) (<a href="https://raw.githubusercontent.com/RupertJS/rupert-grunt/master/dist/angular.tgz">tar</a>) (<a href="https://raw.githubusercontent.com/RupertJS/rupert-grunt/master/dist/angular.zip">zip</a>).</li>
<li>See <a href="https://github.com/RupertJS/rupert-grunt/tree/master/examples/angular">the source directory here</a>.</li>
</ul>
</li>
<li><code>npm init</code>
<ul>
<li>You will be prompted for a project name, license, etc.</li>
<li>While npm is smart in initialization, you can set a name, etc in your <a href="https://www.npmjs.org/doc/misc/npm-config.html#config-settings">npmrc</a> if you create packages often.</li>
</ul>
</li>
<li><code>npm install</code></li>
</ul>
</li>
</ol>
</div>
</div>
<!-- Create a new project.
On Github, set the name and description. Generate a Readme and license.
Clone the project from GitHub.
Unpack a seed app:
curl https://raw.githubusercontent.com/RupertJS/rupert-grunt/master/dist/bare.tgz | tar x
or download and extract manually (files are in the root of the package, be warned) (tar) (zip).
See the source directory here.
See all the examples (packages)
npm init
You will be prompted for a project name, license, etc.
While npm is smart in initialization, you can set a name, etc in your npmrc if you create packages often.
npm install
Choose your frontend toolkit.
Angular & Bootstrap npm install --save rupert-plugin-angular rupert-plugin-bootstrap
Ionic (includes angular) npm install --save rupert-plugin-ionic
The default Angular package name is rupert-app, in ./src/client/index.jade, ./src/client/main.js, and other places. Edit this as needed. -->
<footer class="footer">
<nav class="navbar navbar-inverse navbar-bottom">
<div class="container">
<ul class="nav navbar-nav">
<li>
<p class="text-muted">Copyright 2014-2015 David Souther et al.<br />
Licensed <a href="https://github.com/RupertJS/rupert/blob/master/LICENSE">ISC</a>, Documentation <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a></p>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="#">Back to Top</a></li>
</ul>
</a>
</div>
</nav>
</footer>
<script src="http://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
if(document.location.protocol === 'file:'){
window.ga = function(){console.log(arguments)};
}
ga('create', 'UA-63934641-1', 'auto');
ga('require', 'linkid', 'linkid.js');
sendHash();
$(window).bind('hashchange', sendHash);
function sendHash(){
ga('send', 'pageview', {
'page': location.pathname + location.hash
});
}
$('a[aria-controls]').click(function(){
ga('send', 'event', 'tab', 'click', this.attributes['aria-controls'].value);
});
$('a#download_vanilla').click(function(){
ga('send', 'event', 'button', 'click', 'download_vanilla');
});
</script>
</body>
</html>