forked from fossasia/visdom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdownload.sh
28 lines (22 loc) · 1.99 KB
/
download.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
#!/bin/sh
mkdir -p py/static/js
wget https://unpkg.com/[email protected]/dist/jquery.min.js -O py/static/js/jquery.min.js
wget https://unpkg.com/[email protected]/dist/js/bootstrap.min.js -O py/static/js/bootstrap.min.js
wget https://unpkg.com/[email protected]/umd/react.production.min.js -O py/static/js/react-react.min.js
wget https://unpkg.com/[email protected]/umd/react-dom.production.min.js -O py/static/js/react-dom.min.js
wget "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_SVG" -O py/static/js/mathjax-MathJax.js
wget https://cdn.rawgit.com/plotly/plotly.js/master/dist/plotly.min.js -O py/static/js/plotly-plotly.min.js
wget https://unpkg.com/[email protected]/sjcl.js -O py/static/js/scjl.js
mkdir -p py/static/css
wget https://unpkg.com/[email protected]/css/styles.css -O py/static/css/react-resizable-styles.css
wget https://unpkg.com/[email protected]/css/styles.css -O py/static/css/react-grid-layout-styles.css
wget https://unpkg.com/[email protected]/dist/css/bootstrap.min.css -O py/static/css/bootstrap.min.css
mkdir -p py/static/fonts
wget https://unpkg.com/[email protected] -O py/static/fonts/classnames
wget https://unpkg.com/[email protected] -O py/static/fonts/layout_bin_packer
wget https://unpkg.com/[email protected]/dist/fonts/glyphicons-halflings-regular.eot -O py/static/fonts/glyphicons-halflings-regular.eot
wget https://unpkg.com/[email protected]/dist/fonts/glyphicons-halflings-regular.woff2 -O py/static/fonts/glyphicons-halflings-regular.woff2
wget https://unpkg.com/[email protected]/dist/fonts/glyphicons-halflings-regular.woff -O py/static/fonts/glyphicons-halflings-regular.woff
wget https://unpkg.com/[email protected]/dist/fonts/glyphicons-halflings-regular.ttf -O py/static/fonts/glyphicons-halflings-regular.ttf
wget "https://unpkg.com/[email protected]/dist/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular" -O py/static/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular
cat py/visdom/VERSION > py/visdom/static/version.built