-
Notifications
You must be signed in to change notification settings - Fork 1
/
connect-database.html
870 lines (412 loc) · 28.1 KB
/
connect-database.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
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
<!DOCTYPE HTML>
<html lang="" >
<head>
<meta charset="UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>Optional: Connect to a database · IBM Cloud Kubernetes Service Lab</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="description" content="">
<meta name="generator" content="GitBook 3.2.3">
<link rel="stylesheet" href="gitbook/style.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-prism/prism-tomorrow.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-collapsible-chapters/collapsible-chapters.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-hints/plugin-hints.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-back-to-top-button/plugin.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-fancybox/jquery.fancybox.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-fancybox/jquery.fancybox-buttons.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-web-header/plugin.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
<meta name="HandheldFriendly" content="true"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
<link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">
<link rel="next" href="test-resiliency.html" />
<link rel="prev" href="scale-app.html" />
</head>
<body>
<div class="book">
<div class="book-summary">
<div id="book-search-input" role="search">
<input type="text" placeholder="Type to search" />
</div>
<nav role="navigation">
<ul class="summary">
<li class="header">Introduction</li>
<li class="chapter " data-level="1.1" data-path="./">
<a href="./">
<b>1.1.</b>
Lab Overview
</a>
</li>
<li class="header">Preparation</li>
<li class="chapter " data-level="2.1" data-path="prepare-prereq.html">
<a href="prepare-prereq.html">
<b>2.1.</b>
Pre-Requisites
</a>
</li>
<li class="chapter " data-level="2.2" data-path="prepare-plugins.html">
<a href="prepare-plugins.html">
<b>2.2.</b>
Install Container Plugins
</a>
</li>
<li class="chapter " data-level="2.3" data-path="prepare-cli.html">
<a href="prepare-cli.html">
<b>2.3.</b>
Main command lines
</a>
</li>
<li class="chapter " data-level="2.4" data-path="prepare-get-cluster.html">
<a href="prepare-get-cluster.html">
<b>2.4.</b>
Get a cluster
</a>
</li>
<li class="header">Lab 1 - Deploy an app in a Kubernetes cluster</li>
<li class="chapter " data-level="3.1" data-path="view-cluster.html">
<a href="view-cluster.html">
<b>3.1.</b>
View your cluster
</a>
</li>
<li class="chapter " data-level="3.2" data-path="kube-dashboard.html">
<a href="kube-dashboard.html">
<b>3.2.</b>
Kubernetes Dashboard
</a>
</li>
<li class="chapter " data-level="3.3" data-path="connect-via-cli.html">
<a href="connect-via-cli.html">
<b>3.3.</b>
Connect via CLI
</a>
</li>
<li class="chapter " data-level="3.4" data-path="get-app.html">
<a href="get-app.html">
<b>3.4.</b>
Get and run the app locally
</a>
</li>
<li class="chapter " data-level="3.5" data-path="docker-build.html">
<a href="docker-build.html">
<b>3.5.</b>
Build docker image
</a>
</li>
<li class="chapter " data-level="3.6" data-path="docker-push.html">
<a href="docker-push.html">
<b>3.6.</b>
Push docker image
</a>
</li>
<li class="chapter " data-level="3.7" data-path="deploy-app.html">
<a href="deploy-app.html">
<b>3.7.</b>
Deploy app
</a>
</li>
<li class="chapter " data-level="3.8" data-path="scale-app.html">
<a href="scale-app.html">
<b>3.8.</b>
Scale app
</a>
</li>
<li class="chapter active" data-level="3.9" data-path="connect-database.html">
<a href="connect-database.html">
<b>3.9.</b>
Optional: Connect to a database
</a>
</li>
<li class="chapter " data-level="3.10" data-path="test-resiliency.html">
<a href="test-resiliency.html">
<b>3.10.</b>
Optional: Test the resiliency
</a>
</li>
<li class="chapter " data-level="3.11" data-path="clean-up.html">
<a href="clean-up.html">
<b>3.11.</b>
Clean up
</a>
</li>
<li class="header">Lab 2 - DevOps and Helm charts</li>
<li class="chapter " data-level="4.1" data-path="devops-helm.html">
<a href="devops-helm.html">
<b>4.1.</b>
Deploy with Helm
</a>
</li>
<li class="chapter " data-level="4.2" data-path="devops-continuous-delivery.html">
<a href="devops-continuous-delivery.html">
<b>4.2.</b>
Deploy with Continuous Delivery
</a>
</li>
<li class="chapter " data-level="4.3" data-path="monitor-debug.html">
<a href="monitor-debug.html">
<b>4.3.</b>
Optional: Troubleshoot and Debug
</a>
</li>
<li class="header">Lab 3 - Monitor your cluster</li>
<li class="chapter " data-level="5.1" data-path="monitor-cluster-logs.html">
<a href="monitor-cluster-logs.html">
<b>5.1.</b>
Cluster Logs
</a>
</li>
<li class="chapter " data-level="5.2" data-path="monitor-cluster-metrics.html">
<a href="monitor-cluster-metrics.html">
<b>5.2.</b>
Monitoring your cluster
</a>
</li>
<li class="header">Advanced</li>
<li class="chapter " data-level="6.1" data-path="appendix-create-cluster-cli.html">
<a href="appendix-create-cluster-cli.html">
<b>6.1.</b>
Create a cluster with CLI
</a>
</li>
<li class="chapter " data-level="6.2" data-path="appendix-create-cluster-ui.html">
<a href="appendix-create-cluster-ui.html">
<b>6.2.</b>
Create a cluster in the Console
</a>
</li>
<li class="chapter " data-level="6.3" data-path="weavescope.html">
<a href="weavescope.html">
<b>6.3.</b>
Weavescope
</a>
</li>
<li class="chapter " data-level="6.4" data-path="appendix-terraform.html">
<a href="appendix-terraform.html">
<b>6.4.</b>
Provisioning with Terraform
</a>
</li>
<li class="chapter " data-level="6.5" data-path="calico.html">
<a href="calico.html">
<b>6.5.</b>
Controlling traffic with network policies
</a>
</li>
<li class="chapter " data-level="6.6" data-path="appendix.html">
<a href="appendix.html">
<b>6.6.</b>
Appendix
</a>
</li>
<li class="header">Resources</li>
<li class="chapter " data-level="7.1" data-path="resources.html">
<a href="resources.html">
<b>7.1.</b>
Resources
</a>
</li>
<li class="divider"></li>
<li>
<a href="https://www.gitbook.com" target="blank" class="gitbook-link">
Published with GitBook
</a>
</li>
</ul>
</nav>
</div>
<div class="book-body">
<div class="body-inner">
<div class="book-header" role="navigation">
<!-- Title -->
<h1>
<i class="fa fa-circle-o-notch fa-spin"></i>
<a href="." >Optional: Connect to a database</a>
</h1>
</div>
<div class="page-wrapper" tabindex="-1" role="main">
<div class="page-inner">
<div id="book-search-results">
<div class="search-noresults">
<section class="normal markdown-section">
<h1 id="use-a-kubernetes-secret-to-connect-to-a-managed-database-service">Use a Kubernetes Secret to connect to a managed Database service.</h1>
<p>The initial version of the application uses an in-memory database to store the todo. Yet, the web application can be configured to store the todo in either a Cloudant or a Mongo DBaaS.
We will use a Cloudant DB to demonstrate how to connnect the web app to the Cloudant service using the Kubernetes Secret.</p>
<h2 id="create-an-instance-of-cloudant-and-its-credentials">Create an instance of Cloudant and its credentials</h2>
<ol>
<li><p>Go to the <a href="https://cloud.ibm.com/catalog" target="_blank">Cloud Services Catalog</a> </p>
<blockquote>
<p>To see all the available services in the catalog using the cli:
<code>ibmcloud catalog service-marketplace</code></p>
</blockquote>
</li>
<li><p>Select the service <strong>Cloudant</strong></p>
</li>
<li><p>Create an instance of the service with the plan <strong>Lite</strong></p>
<p> <a href="images/cloudant-create.png" rel="grouped" title="" target="_self" class="fancybox">
<img src="images/cloudant-create.png" alt="">
</a></p>
</li>
<li><p>Create the credentials to access the service.</p>
<p> <a href="images/cloudant-credentials.png" rel="grouped" title="" target="_self" class="fancybox">
<img src="images/cloudant-credentials.png" alt="">
</a></p>
</li>
<li><p>Click <strong>New Credentials</strong> and keep all the default options</p>
<p> <a href="images/cloudant-credentials2.png" rel="grouped" title="" target="_self" class="fancybox">
<img src="images/cloudant-credentials2.png" alt="">
</a></p>
</li>
<li><p>Duplicate the file <code>credentials.template.env</code> in the root folder to a new file <code>credentials.env</code></p>
</li>
<li><p>Edit the file <code>credentials.env</code> and fill out the value for both CLOUDANT_USERNAME and CLOUDANT_APIKEY from the generated credentials above. Make sure you uncomment those 2 lines</p>
</li>
<li><p><strong>Optional</strong>: Create an instance of a service using the CLI instead of the Console.</p>
<pre class="language-"><code class="lang-sh"> ibmcloud resource service-instance-create <span class="token operator"><</span>service_instance_name<span class="token operator">></span> <span class="token operator"><</span>service_name<span class="token operator">></span> <span class="token operator"><</span>service_plan_name<span class="token operator">></span> <span class="token operator"><</span>location<span class="token operator">></span>
</code></pre>
<p> Example:</p>
<pre class="language-"><code> ibmcloud resource service-instance-create todo-cloudant cloudant lite eu-de
</code></pre></li>
<li><p><strong>Optional</strong>: Verify you see the new instance created using the CLI</p>
<pre class="language-"><code class="lang-sh"> ibmcloud resource service-instances
</code></pre>
</li>
</ol>
<h2 id="create-the-kubernetes-secret">Create the Kubernetes Secret</h2>
<ol>
<li><p>Unless you have created a new namespace, we will use the namespace <strong>default</strong> in this lab. To find the list of Kubernetes namespaces:</p>
<pre class="language-"><code class="lang-sh"> kubectl get namespaces
</code></pre>
<p> Output:</p>
<pre class="language-"><code> NAME STATUS AGE
default Active 7d
ibm-system Active 7d
kube-system Active 7d
</code></pre></li>
<li><p>Create the secret used by the application to obtain service credentials:</p>
<pre class="language-"><code class="lang-sh"> kubectl create secret generic database-credentials --from-env-file<span class="token operator">=</span>credentials.env
</code></pre>
<p> Result:</p>
<blockquote>
<p>secret/database-credentials created</p>
</blockquote>
</li>
<li><p>Control that your secret was successfully created</p>
<pre class="language-"><code class="lang-sh"> kubectl get secrets
</code></pre>
</li>
<li><p>You can view the secret in the Kubernetes Dashboard </p>
<p> <a href="images/k8s-secret.png" rel="grouped" title="" target="_self" class="fancybox">
<img src="images/k8s-secret.png" alt="">
</a></p>
</li>
</ol>
<h2 id="redeploy-the-app">Redeploy the app</h2>
<ol>
<li><p>Modify the YAML to uncomment the last 3 lines of the Deployment section as of <strong>envFrom</strong>.</p>
<p> Your YAML file should look as follows:</p>
<pre class="language-"><code class="lang-yaml"> <span class="token punctuation">---</span>
<span class="token comment"># Application to deploy</span>
<span class="token key atrule">apiVersion</span><span class="token punctuation">:</span> apps/v1
<span class="token key atrule">kind</span><span class="token punctuation">:</span> Deployment
<span class="token key atrule">metadata</span><span class="token punctuation">:</span>
<span class="token key atrule">name</span><span class="token punctuation">:</span> mytodos
<span class="token key atrule">spec</span><span class="token punctuation">:</span>
<span class="token key atrule">replicas</span><span class="token punctuation">:</span> <span class="token number">2 </span><span class="token comment"># tells deployment to run 2 pods matching the template</span>
<span class="token key atrule">selector</span><span class="token punctuation">:</span>
<span class="token key atrule">matchLabels</span><span class="token punctuation">:</span>
<span class="token key atrule">app</span><span class="token punctuation">:</span> mytodos
<span class="token key atrule">template</span><span class="token punctuation">:</span> <span class="token comment"># create pods using pod definition in this template</span>
<span class="token key atrule">metadata</span><span class="token punctuation">:</span>
<span class="token key atrule">labels</span><span class="token punctuation">:</span>
<span class="token key atrule">app</span><span class="token punctuation">:</span> mytodos
<span class="token key atrule">tier</span><span class="token punctuation">:</span> frontend
<span class="token key atrule">spec</span><span class="token punctuation">:</span>
<span class="token key atrule">containers</span><span class="token punctuation">:</span>
<span class="token punctuation">-</span> <span class="token key atrule">name</span><span class="token punctuation">:</span> mytodos
<span class="token key atrule">image</span><span class="token punctuation">:</span> <region<span class="token punctuation">></span>.icr.io/<namespace<span class="token punctuation">></span>/todo<span class="token punctuation">-</span><lastname<span class="token punctuation">></span><span class="token punctuation">:</span><span class="token number">1.0</span>
<span class="token key atrule">imagePullPolicy</span><span class="token punctuation">:</span> Always
<span class="token key atrule">resources</span><span class="token punctuation">:</span>
<span class="token key atrule">requests</span><span class="token punctuation">:</span>
<span class="token key atrule">cpu</span><span class="token punctuation">:</span> 250m <span class="token comment"># 250 millicores = 1/4 core</span>
<span class="token key atrule">memory</span><span class="token punctuation">:</span> 128Mi <span class="token comment"># 128 MB</span>
<span class="token key atrule">limits</span><span class="token punctuation">:</span>
<span class="token key atrule">cpu</span><span class="token punctuation">:</span> 500m
<span class="token key atrule">memory</span><span class="token punctuation">:</span> 384Mi
<span class="token key atrule">envFrom</span><span class="token punctuation">:</span>
<span class="token punctuation">-</span> <span class="token key atrule">secretRef</span><span class="token punctuation">:</span>
<span class="token key atrule">name</span><span class="token punctuation">:</span> database<span class="token punctuation">-</span>credentials
</code></pre>
</li>
<li><p>Update the application with this new configuration</p>
<pre class="language-"><code class="lang-sh"> kubectl apply -f ingress-tls-deploy.yaml
</code></pre>
</li>
<li><p>Create a new todo in the web app.</p>
<p> <a href="images/webapp-db.png" rel="grouped" title="" target="_self" class="fancybox">
<img src="images/webapp-db.png" alt="">
</a></p>
</li>
<li><p>Check the Cloudant Dashboard to validate this new todo has been persisted in the DB.</p>
<p> <a href="images/cloudant-dashboard-launch.png" rel="grouped" title="" target="_self" class="fancybox">
<img src="images/cloudant-dashboard-launch.png" alt="">
</a></p>
<p> <a href="images/cloudant-db.png" rel="grouped" title="" target="_self" class="fancybox">
<img src="images/cloudant-db.png" alt="">
</a></p>
<p> <a href="images/cloudant-record.png" rel="grouped" title="" target="_self" class="fancybox">
<img src="images/cloudant-record.png" alt="">
</a></p>
</li>
</ol>
</section>
</div>
<div class="search-results">
<div class="has-results">
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
<ul class="search-results-list"></ul>
</div>
<div class="no-results">
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
</div>
</div>
</div>
</div>
</div>
</div>
<a href="scale-app.html" class="navigation navigation-prev " aria-label="Previous page: Scale app">
<i class="fa fa-angle-left"></i>
</a>
<a href="test-resiliency.html" class="navigation navigation-next " aria-label="Next page: Optional: Test the resiliency">
<i class="fa fa-angle-right"></i>
</a>
</div>
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"Optional: Connect to a database","level":"3.9","depth":1,"next":{"title":"Optional: Test the resiliency","level":"3.10","depth":1,"path":"test-resiliency.md","ref":"test-resiliency.md","articles":[]},"previous":{"title":"Scale app","level":"3.8","depth":1,"path":"scale-app.md","ref":"scale-app.md","articles":[]},"dir":"ltr"},"config":{"plugins":["prism","-highlight","collapsible-chapters","hints","copy-code-button","back-to-top-button","fancybox","web-header"],"root":"book","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"webheader":{"headerTitle":"IBM Cloud Kubernetes Service (IKS) Lab"},"prism":{"css":["prismjs/themes/prism-tomorrow.css"],"prism":{"lang":{"flow":"typescript"}},"ignore":["mermaid","eval-js"],"hints":{"info":"fa fa-info-circle","tip":"fa fa-mortar-board","danger":"fa fa-exclamation-cicle","working":"fa fa-wrench"}},"fancybox":{"helpers":{"buttons":{}},"openEffect":"elastic","closeEffect":"elastic"},"web-header":{},"search":{},"collapsible-chapters":{},"hints":{"danger":"fa fa-exclamation-circle","info":"fa fa-info-circle","tip":"fa fa-mortar-board","working":"fa fa-wrench"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"back-to-top-button":{},"copy-code-button":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"IBM Cloud Kubernetes Service Lab","gitbook":"3.2.3"},"file":{"path":"connect-database.md","mtime":"2018-11-11T16:11:11.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-05-29T00:35:08.716Z"},"basePath":".","book":{"language":""}});
});
</script>
</div>
<script src="gitbook/gitbook.js"></script>
<script src="gitbook/theme.js"></script>
<script src="gitbook/gitbook-plugin-collapsible-chapters/collapsible-chapters.js"></script>
<script src="gitbook/gitbook-plugin-copy-code-button/toggle.js"></script>
<script src="gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
<script src="gitbook/gitbook-plugin-fancybox/jquery.min.js"></script>
<script src="gitbook/gitbook-plugin-fancybox/jquery.mousewheel.pack.js"></script>
<script src="gitbook/gitbook-plugin-fancybox/jquery.fancybox.pack.js"></script>
<script src="gitbook/gitbook-plugin-fancybox/jquery.fancybox-buttons.js"></script>
<script src="gitbook/gitbook-plugin-fancybox/plugin.js"></script>
<script src="gitbook/gitbook-plugin-web-header/plugin.js"></script>
<script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
<script src="gitbook/gitbook-plugin-search/search.js"></script>
<script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
<script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
<script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
<script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
</body>
</html>