Created
January 13, 2017 21:43
-
-
Save paultopia/bc6c734c382dfd2d887b8d3bd14fc734 to your computer and use it in GitHub Desktop.
work in progress remote-coding-platform insta-install script
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
| # Ubuntu 16.10 32bit on smallest digitalocean droplet | |
| # Operating as root | |
| # point of this is to have something I can ssh into from iPad to compile and run stuff | |
| # I've run all this stuff interactively, but I think it should work as a shell script... tried to put force confirmation in everything. | |
| # apologies if something blows up, or hangs waiting for confirmation; work in progress | |
| # make sure all is good in the world | |
| apt-get update | |
| # Install emacs 24.5.1 | |
| apt-get install -y emacs | |
| # install spacemacs | |
| git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d | |
| # get java | |
| apt-get install -y openjdk-8-jre-headless | |
| # let lein run as root without whining since this is a throwaway vps | |
| echo "export LEIN_ROOT=true" >> .bashrc | |
| source .bashrc | |
| # get clojure | |
| curl -o /usr/local/bin/lein https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein | |
| chmod +x /usr/local/bin/lein | |
| lein | |
| # get Haskell | |
| apt-get install -y haskell-platform | |
| # node and nvm | |
| curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash | |
| export NVM_DIR="/root/.nvm" | |
| [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" | |
| nvm install node | |
| # pandoc | |
| apt-get install -y pandoc | |
| # python, just use anaconda to manage envs and such | |
| curl -o anaconda.sh https://repo.continuum.io/archive/Anaconda3-4.2.0-Linux-x86.sh | |
| bash ~/anaconda.sh -b -p /root/anaconda | |
| echo "export PATH=/root/anaconda/bin:$PATH" >> .bashrc | |
| source .bashrc | |
| # autojump because cd sucks | |
| apt-get install -y autojump | |
| # insta-config spacemacs NOT PERFECT | |
| curl -o .spacemacs https://gist.githubusercontent.com/paultopia/c4bf99d2569f010399c332badb70d697/raw/b361b004ece8a2f842789c518e953a91fe0fb08b/.spacemacs | |
| # R is nice to have too | |
| apt-get install -y r-base |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment