Skip to content

Instantly share code, notes, and snippets.

@FranciscoOnt
Last active June 17, 2022 06:01
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 FranciscoOnt/a11cf8c8d3cc3f1da9eee8b2978465e3 to your computer and use it in GitHub Desktop.
Save FranciscoOnt/a11cf8c8d3cc3f1da9eee8b2978465e3 to your computer and use it in GitHub Desktop.
MC-NHS Prerequisites
sudo apt-get update
echo "Installing Git"
sudo apt-get install git
echo "Cloning repositories"
git clone https://github.com/FranciscOntV/MC-NHS-UI.git
git clone https://github.com/FranciscOntV/MC-NHS-API.git
echo "installing ngrok"
git clone https://github.com/FranciscOntV/MC-NHS-UI.git
curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | sudo tee
/etc/apt/trusted.gpg.d/ngrok.asc >/dev/null && echo "deb
https://ngrok-agent.s3.amazonaws.com buster main" | sudo tee
/etc/apt/sources.list.d/ngrok.list && sudo apt update && sudo apt
install ngrok
echo "installing nodejs"
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs
echo "installing npm"
curl -L https://npmjs.org/install.sh | sudo sh
echo "installing java"
sudo apt-get install -y libc6-x32 libc6-i386
wget https://download.oracle.com/java/18/latest/jdk-18_linux-x64_bin.deb
sudo dpkg -i jdk-18_linux-x64_bin.deb
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk-18/bin/java 1
echo "Installed Software:"
git --version
ngrok -v
echo "Node"
node -v
echo "NPM"
npm -v
java -version
echo "Setup complete"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment