Last active
August 22, 2017 18:40
-
-
Save fhightower/3d62ec697117059ce170903763546bc4 to your computer and use it in GitHub Desktop.
Vagrant Setup Scripts
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
# Install python3.5 | |
sudo -H apt-get install -y build-essential checkinstall | |
sudo -H apt-get install -y libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev | |
cd /usr/src | |
sudo wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz | |
sudo -H tar xzf Python-3.5.2.tgz | |
cd Python-3.5.2 | |
sudo -H ./configure | |
sudo -H make altinstall | |
python3.5 -V | |
# upgrade pip | |
sudo pip3.5 install --upgrade pip | |
# pip can be accessed using: | |
pip3.5 |
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
# install nodejs | |
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -; | |
sudo apt-get install -y nodejs; |
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
# install pip and python development tools | |
sudo apt-get install python-pip | |
sudo apt-get install python-dev |
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
#!/usr/bin/env bash | |
# Instructions for setting up a server to run angular 2. | |
# Running on a linux vagrant box (https://atlas.hashicorp.com/ubuntu/boxes/trusty64). | |
# basic updates | |
sudo apt-get update; | |
sudo apt-get -y install git; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment