I'll add to the documentation eventually, but this might help anybody trying to set this up.
HISE and Juce will segfault without an X11 server running, so just calling them from the command line over ssh will probably look like things are broken. You should run {HISE_BINARY} --help to check if things are working.
This is my build.sh script, which I put in a Packaging folder in the HISE project directory:
#!/bin/bash
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P ) #Makes it so you can call the script from anywhere
cd "$parent_path"
{HISE Binary} export ../XmlPresetBackups/ProjectName.xml -t:'instrument' -p:'VST' -a:'x64'
cd "../Binaries"
source ./batchCompileLinux.sh
scp -r "$parent_path/../Binaries/Builds/LinuxMakefile/build/ProjectName.vst3/" simon@{laptop_ip}:/home/simon/.vst3/ #Copies the vst to my laptop