Skip to content

Instantly share code, notes, and snippets.

@kukielp
Last active November 17, 2020 21:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kukielp/d6002b41408a0dc77143d9906a18cd02 to your computer and use it in GitHub Desktop.
Save kukielp/d6002b41408a0dc77143d9906a18cd02 to your computer and use it in GitHub Desktop.
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