add instruction and copy script

This commit is contained in:
Paul Trowbridge 2022-11-30 14:25:16 -05:00
parent 509873e60b
commit 1050930667
2 changed files with 44 additions and 0 deletions

5 Executable file
View File

@ -0,0 +1,5 @@
sudo cp app/build/distributions/ /opt/
sudo rm -rf /opt/app/
sudo unzip /opt/ -d /opt/
sudo rm /opt/
sudo chown ptrowbridge:ptrowbridge -R /opt/app/

39 Normal file
View File

@ -0,0 +1,39 @@
## install java jdk.
find downloads page and get latest tarball.
`tar -xvf downloaded_file`
move the extracted folder to /opt
put the extracted location in your path variable
export JAVA_HOME=/opt/jdk-19.0.1
export PATH=$PATH:$JAVA_HOME/bin
`java --version` to test
## install gradle
go to and find the latest file (burried in the `direct link` hyperlink)
`unzip -d /opt/gradle`
point to the gradle install
`export PATH=$PATH:/opt/gradle/gradle-7.6/bin`
`gradle -v` to validate
## clone this repo
`git clone`
gradle build`
copy to opt for use
sudo cp jrunner/app/build/distributions/ /opt/
sudo rm -rf app/
sudo unzip
sudo rm
sudo chown ptrowbridge:ptrowbridge -R app/