I found the docker installation instructions a tad cumbersome and installed ST 10.1 with Vocbench3 the following way (Debian/Ubuntu):
1) installed nginx and python3-certbot-nginx
3) unpacked vocbench3 jar to /var/www/html/vocbench3 (jar xvf vocbench3-10.1.0.war
4) unpacked st 10.1 installation to ~/vocbench-10.1
5) added the following locations to my nginx default site conf:
location /vocbench3 {
try_files $uri $uri/ =404;
}
location /semanticturkey {
rewrite /semanticturkey/(.*) /$1 break;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://127.0.0.1:1979;
}6) edited vbconf.js st_host to point to my domain, st_port to 443 and st_path to "semanticturkey"
7) started st in the background
8) added admin user locally to st with curl:
curl -F "email=<my email>" -F "password=<my password>" -F "givenName=<name>" -F "familyName=<surname>" http://localhost:1979/semanticturkey/it.uniroma2.art.semanticturkey/st-core-services/Users/registerUser I think this method might be useful for many who need to run ST&VB3 collaboratively as it involves very little overhead (nginx is much lighter than docker). I hope this is useful for others needing to run the st backend remotely.
- Otso Helenius