Last active
December 16, 2015 11:08
-
-
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
This file contains hidden or 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
| #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 |
This file contains hidden or 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
| #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 |
This file contains hidden or 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 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