Skip to content

Instantly share code, notes, and snippets.

@CodeSammich
Last active November 26, 2018 22:30
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 CodeSammich/7bcbf55bc1627222e1952b8520e44f22 to your computer and use it in GitHub Desktop.
Save CodeSammich/7bcbf55bc1627222e1952b8520e44f22 to your computer and use it in GitHub Desktop.
VIP AAD Installation Shell Script
#!/bin/bash
echo "starting script"
echo "going to home directory"
cd ~
# get emade
git clone https://github.gatech.edu/emade/CGP-CNN.git
# install git-lfs
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
sudo apt-get install git-lfs
# remove data sets
rm ~/emade/src/CGPFramework/data/*.csv.gz
rm ~/emade/src/CGPFramework/data/MNIST-data/*.gz
# configure git
read -p "Enter Github email (e.g. abc@gmail.com): " user_email
echo "$user_email"
git config --global user.email "$user_email"
read -p "Enter Github name (e.g. John Smith): " user_name
echo "$user_name"
git config --global user.name "$user_name"
cd CGP-CNN
git stash
git pull origin deep-vip
pip3 install -r ~/emade/requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment