-
Notifications
You must be signed in to change notification settings - Fork 2
/
deploy.sh
executable file
·45 lines (33 loc) · 767 Bytes
/
deploy.sh
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
# Get current directory
wd=$(pwd)
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
nvm install stable
npm install -g bower
# Quill
bower install quill
cd bower_components/quill
npm install
npm test
cd $wd
# Bootstrap
bower install bootstrap
cd bower_components/bootstrap
npm install
npm test
cd $wd
# Slick
bower install kenwheeler/slick
# cruzeneko/Logidrom
bower install https://github.com/cruzeneko/logidrom.git#1df49613399214eab3d045d974b025f3e4172c62
cd bower_components/logidrom
npm install
cd $wd
# Browserify
npm install -g browserify
browserify js/logidrom.js > js/logidrom_b.js
# JSPdf
bower install MrRio/jsPDF
# JSPdf-autotable
bower install jspdf-autotable
# Canvg (js to canvas)
bower install canvg/canvg