Skip to content

Manual Deployment

Logan Terry edited this page Feb 14, 2021 · 1 revision

Before Deployment

  • Make sure you have SSH access to the server
  • Make sure you have an SSL certification
  • Make sure Java 8 is installed
  • Install nodejs and angular with the directions found here
  • Install tomcat 9 with the directions found here

First Deployment

  • Clone this repository to the server
  • Navigate to the resources/server_automation/ directory
  • Run "sudo ./deploy_all.sh"

Front-End Deployment: For when you made changes to the front-end and need to reload it.

  • Navigate to the resources/server_automation/ directory
  • Run "sudo ./deploy_frontend.sh"
  • Wait for tomcat to auto re-deploy

Back-End Deployment: For when you made changes to the back-end and need to reload it.

  • Navigate to the resources/server_automation/ directory
  • Run "sudo ./deploy_backend.sh"
  • Wait for tomcat to auto re-deploy

Update Tomcat Configuration

  • Navigate to the resources/server_automation/ directory
  • Change any of the needed configs in resources/server_automation/the tomcat/ directory
  • Run "sudo ./deploy_tomcat_config.sh"
Clone this wiki locally