Add files via upload
This commit is contained in:
parent
909d2c621e
commit
0640462cb5
3
start-qortal-at-boot.sh
Normal file
3
start-qortal-at-boot.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
cd qortal
|
||||
./start.sh
|
5
start-qortal-ui-at-boot.sh
Normal file
5
start-qortal-ui-at-boot.sh
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
cd UI/qortal-ui
|
||||
#screen -d -S Qortal-UI -m yarn run server -L UI-start.log
|
||||
screen -d -S Qortal-UI -m yarn run server
|
||||
echo Qortal UI should have started
|
51
update-qortal-ui.sh
Normal file
51
update-qortal-ui.sh
Normal file
@ -0,0 +1,51 @@
|
||||
#!/bin/sh
|
||||
echo "stopping node.js for old UI"
|
||||
killall -9 node*
|
||||
|
||||
echo "removing old files"
|
||||
rm -R UI
|
||||
|
||||
echo "creating new UI folder and moving to that directory "
|
||||
|
||||
mkdir UI
|
||||
cd UI
|
||||
|
||||
echo "cloning git repositories for Qortal UI"
|
||||
|
||||
git clone https://github.com/qortal/qortal-ui
|
||||
git clone https://github.com/qortal/qortal-ui-core
|
||||
git clone https://github.com/qortal/qortal-ui-crypto
|
||||
git clone https://github.com/qortal/qortal-ui-plugins
|
||||
|
||||
cd qortal-ui
|
||||
|
||||
echo "installing dependencies and linking with yarn link for build process"
|
||||
|
||||
yarn install
|
||||
|
||||
cd ../qortal-ui-core
|
||||
|
||||
yarn install
|
||||
yarn link
|
||||
|
||||
cd ../qortal-ui-crypto
|
||||
|
||||
yarn install
|
||||
yarn link
|
||||
|
||||
cd ../qortal-ui-plugins
|
||||
|
||||
yarn install
|
||||
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 reboot the system to make use of the new UI!"
|
Loading…
x
Reference in New Issue
Block a user