-
Notifications
You must be signed in to change notification settings - Fork 2
Building From Source
matthewD-AVI edited this page Dec 20, 2018
·
2 revisions
- Install Gradle
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y install openjdk-8-jdk wget unzip
sudo mkdir /opt/gradle
sudo unzip -d /opt/gradle gradle-3.4.1-bin.zip
export PATH=$PATH:/opt/gradle/gradle-3.4.1/bin
gradle -v
- Building Threat-Vector-Questionnaire Create war files
- Navigate to src/main/resource and open application.yml
- Set ‘ddl-auto: validate’ to ‘ddl-auto: create’
- Navigate to the main directory
- gradle clean war
- The war is located in build/lib
- Deploy this war (See Deploy Instructions)
- Building Threat-Vector-Questionnaire Validate war files
- Navigate to src/main/resource and open application.yml
- Set ‘ddl-auto: create’ to ‘ddl-auto: validate’
- Navigate to the main directory
- gradle clean war
- The war is located in build/lib
- Deploy this war (See Deploy Instructions)