diff --git a/start-qortal-at-boot.sh b/start-qortal-at-boot.sh new file mode 100644 index 0000000..c53cf0b --- /dev/null +++ b/start-qortal-at-boot.sh @@ -0,0 +1,3 @@ +#!/bin/sh +cd qortal +./start.sh diff --git a/start-qortal-ui-at-boot.sh b/start-qortal-ui-at-boot.sh new file mode 100644 index 0000000..27a680e --- /dev/null +++ b/start-qortal-ui-at-boot.sh @@ -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 diff --git a/update-qortal-ui.sh b/update-qortal-ui.sh new file mode 100644 index 0000000..f758778 --- /dev/null +++ b/update-qortal-ui.sh @@ -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!"