Add files via upload

This commit is contained in:
crowetic 2021-04-09 17:55:22 -07:00 committed by GitHub
parent 909d2c621e
commit 0640462cb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 59 additions and 0 deletions

3
start-qortal-at-boot.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/sh
cd qortal
./start.sh

View 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
View 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!"