Documentation

Deliverables & Operational Commands

Operations

Deliverables

Backend: Executable Spring Boot jar file

Frontend: Static JS & HTML & CSS files

Operational Commands

Here are examples of deployment commands:

HUB Backend


java -jar hub-instance.jar --spring.config.location=application.yaml

HUB Client

Client application files are compiled as static files to be served by a Nginx web server.

Here's a common deployment scenario:

Step 1 - Locate static files on server:

/var/www/hub-client

Step 2 - Set the location under Nginx configuration:


server {
    listen 8080;
    server_name hub-client.onboardapp.io;
    location / {
      root /var/www/hub-client;
      index index.html;
    }
}

Step 3 - Restart the server


sudo service nginx restart