Last active
August 29, 2015 14:08
-
-
Save pawl/f7d58208cbeddb8c3b69 to your computer and use it in GitHub Desktop.
New Machine Setup For Flask Development On Ubuntu
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
sudo apt-get update && time sudo apt-get dist-upgrade | |
sudo timedatectl set-timezone America/Chicago | |
apt-get install git fail2ban htop nano | |
mkdir -p .ssh | |
nano .ssh/authorized_keys | |
eval `ssh-agent -s` | |
ssh-add ~/.ssh/id_rsa | |
apt-get install python-setuptools | |
easy_install pip | |
pip install virtualenvwrapper | |
sudo mkdir ~/virtualenvs | |
sudo sh -c "echo 'WORKON_HOME=~/virtualenvs' >> /etc/environment" | |
for line in $( cat /etc/environment ) ; do export $line ; done | |
mkdir -p $WORKON_HOME | |
sudo sh -c "echo 'source /usr/local/bin/virtualenvwrapper.sh' >> ~/.bashrc" | |
bash | |
mkvirtualenv default | |
apt-get install python-dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment