Last active
August 29, 2015 13:57
-
-
Save tatiana/9543419 to your computer and use it in GitHub Desktop.
Setup of Python environment at Ubuntu 12.04 for PyAPI training
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
#!/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