Last active
November 17, 2020 21:23
-
-
Save kukielp/d6002b41408a0dc77143d9906a18cd02 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum install -y https://corretto.aws/downloads/latest/amazon-corretto-8-x64-linux-jdk.rpm | |
wget https://services.gradle.org/distributions/gradle-6.5-bin.zip -P /tmp | |
sudo unzip -d /opt/gradle /tmp/gradle-6.5-bin.zip | |
# Set 2 EVN variables to add gradel to the path | |
export GRADLE_HOME=/opt/gradle/gradle-6.5 | |
export PATH=${GRADLE_HOME}/bin:${PATH} | |
# Ensure the ENV variables persist in a new terminal session | |
cat >> ~/.bash_profile <<TXT | |
export GRADLE_HOME=${GRADLE_HOME} | |
export PATH=${GRADLE_HOME}/bin:${PATH} | |
TXT | |
export JAVA_HOME="/usr/lib/jvm/java-1.8.0-amazon-corretto" | |
export PATH=$JAVA_HOME/bin:$PATH | |
# Check is java is avaliable for use | |
java -version | |
# Check is gradle is avaliable for use | |
gradle -v | |
git clone https://github.com/kukielp/fuseless-template.git | |
cd fuseless-template | |
# This shell script will download the fuseless jar and lucee light plus | |
./init.sh | |
# This will package up/zip the cfml and jars required | |
gradle build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment