Skip to content

Instantly share code, notes, and snippets.

@tatiana
Last active August 29, 2015 13:57
Show Gist options
  • Save tatiana/9543419 to your computer and use it in GitHub Desktop.
Save tatiana/9543419 to your computer and use it in GitHub Desktop.
Setup of Python environment at Ubuntu 12.04 for PyAPI training
#!/bin/bash
# Script by @tatiana (Tatiana Al-Chueyr)
# Available at https://gist.github.com/tatiana/9543419
clear
echo "Installing git (Version control manager)"
sudo apt-get install git
echo "Installing pip (Python packager manager)..."
sudo apt-get install python-pip
echo "Installing and setting up virtualenv (Python isolated environments)..."
sudo apt-get install virtualenvwrapper
echo -e '\n# Python-related setup' >> ~/.bashrc
echo 'source /etc/bash_completion.d/virtualenvwrapper' >> ~/.bashrc
. ~/.bashrc
echo "Installing Tsuru client (for deploying to Tsuru cloud)..."
sudo apt-add-repository ppa:tsuru/ppa
sudo apt-get update
sudo apt-get install tsuru
echo "Installing Redis"
sudo apt-get install redis-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment