forked from crowetic/QORTector-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupdate-qortal-ui.sh
More file actions
51 lines (33 loc) · 812 Bytes
/
update-qortal-ui.sh
File metadata and controls
51 lines (33 loc) · 812 Bytes
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
#!/bin/sh
echo "stopping node.js for old UI"
killall -9 node*
echo "removing old files"
rm -R UI
echo "cloning git repositories for Qortal UI"
git clone https://github.com/qortal/UI
cd UI
cd qortal-ui
echo "installing dependencies and linking with yarn link for build process"
yarn install
cd ../qortal-ui-core
yarn install
# Break any previous links
yarn unlink
yarn link
cd ../qortal-ui-crypto
yarn install
# Break any previous links
yarn unlink
yarn link
cd ../qortal-ui-plugins
yarn install
# Break any previous links
yarn unlink
yarn link
cd ../qortal-ui
yarn link qortal-ui-core
yarn link qortal-ui-crypto
yarn link qortal-ui-plugins
echo "starting build process...this may take a while...please be patient!"
yarn run build
echo "BUILD COMPLETE! You can now make use of the new UI!"