How To Mimic Xojo Cloud Build Behaviour
With the Xojo Script language you can build scripts which are either executed before of after the build of an application. We are using this feature — in combination with a small bash script — to mimic the deployment to the Xojo Cloud with an own server.
Below is the content of the ‘deploy.sh’:
#!bin/sh echo "STOP Services" ssh email@example.com 'sudo systemctl stop nuage.service' rsync -avz --delete /Users/jmu/xojo/nuage/Builds\ -\ nuage/Linux\ 64\ bit/nuage/ firstname.lastname@example.org:/var/www/html/nuage/ echo "START Services" ssh email@example.com 'sudo systemctl start nuage.service' exit 0
Sign in or become a blog.xojoDOCs.com member to join the conversation.
Just enter your email below to get a log in link.