Skip to content

Instantly share code, notes, and snippets.

@distributedlife
Last active December 16, 2015 11:08
Show Gist options
  • Select an option

  • Save distributedlife/5424841 to your computer and use it in GitHub Desktop.

Select an option

Save distributedlife/5424841 to your computer and use it in GitHub Desktop.
What I'm using to spin up the EC2 instance for book generation
#rvm
curl -L https://get.rvm.io | bash -s stable --autolibs=enabled
source /home/ubuntu/.rvm/scripts/rvm
rvm install 1.9.3-p194
#app
cd ~/
git clone https://github.com/distributedlife/makebook.git
cd makebook
bundle install
#s3cmd
sudo apt-get install s3cmd -y
#wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
#gunzip install-tl-unx.tar.gz
#tar xf install-tl-unx.tar
#cd install-tl-*
#sudo ./install-tl
sudo add-apt-repository ppa:texlive-backports/ppa
sudo apt-get update
sudo apt-get install texlive
sudo apt-get upgrade
echo "export PATH=/usr/local/texlive/2012/bin/x86_64-linux/:$PATH;" >> ~/.bash_profile
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git -y
git clone https://gist.github.com/5424841.git
cd 5424841/
bash -e setup_tex.sh
bash -e setup_app.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment