Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@fhightower
Last active August 22, 2017 18:40
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 fhightower/3d62ec697117059ce170903763546bc4 to your computer and use it in GitHub Desktop.
Save fhightower/3d62ec697117059ce170903763546bc4 to your computer and use it in GitHub Desktop.
Vagrant Setup Scripts
# 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
# install nodejs
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -;
sudo apt-get install -y nodejs;
# install pip and python development tools
sudo apt-get install python-pip
sudo apt-get install python-dev
#!/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