-
Notifications
You must be signed in to change notification settings - Fork 1
Developer Guide: Server
ssdl-bugquery.cs.technion.ac.il is the address for the BugQuery server, which hosts both the application (website), and the MySQL database. The server's http port (80) is available outside the Technion at ssdlbugquery.cs.technion.ac.il.
The BugQuery spring boot application is ran on the server using run_server.sh, a bash script located in /home/amith/BugQueryServerSide/. That script is installed as a systemd service, and is automatically started on boot. You can check the status of the application using sudo systemctl status bugquery.service.
Set the destination server to ssdl-bugquery.cs.technion.ac.il, port 22 (the SSH port). If you need to use the MySQL database remotely, it listens on port 3306 of the remote server. Tunnel in using a faculty SSH server that can be accessed externally (like csl2.cs.technion.ac.il, which uses the same credentials as t2).
Replace the /home/amith/BugQueryServerSide/src folder in the server with a newer version. Copy /home/amith/BugQueryServerSide/application.properties properties file (which defines the MySQL username, password, and the server's port) into /home/amith/BugQueryServerSide/src/main/resources/. Now restart the service with sudo systemctl restart bugquery.service.