Skip to content

Instantly share code, notes, and snippets.

@LuisHCK
Created May 11, 2017 15:59
Show Gist options
  • Save LuisHCK/f27ae969e46cf5e036abebf73c08c140 to your computer and use it in GitHub Desktop.
Save LuisHCK/f27ae969e46cf5e036abebf73c08c140 to your computer and use it in GitHub Desktop.
LuisHCK's automatic enviroment installer
#!/bin/bash
echo " $(tput setaf 2)Welcome to LuisHCK's automatic enviroment installer"
echo "Updating system"
sudo apt-get update
sudo apt-get -y upgrade
echo "================================================"
echo "Get ADDI"
wget -o ~/addi https://gist.githubusercontent.com/LuisHCK/023fcef876e14f823e758b9774f67d62/raw/accec4053c88a43b618367c0dfac58963994e3c3/addi
chmod +x ~/addi
echo "================================================"
echo "Installing PostgreSQL"
sudo apt-get install -y postgresql postgresql-contrib
sudo -u postgres createuser --interactive
echo "================================================"
echo "Installing Python3 and Django"
sudo apt-get install -y python3
sudo apt-get install -y build-essential libssl-dev libffi-dev python3-dev
sudo apt-get install -y python3-pip
sudo apt-get install -y python3-venv
pip3 install django psycopg2
echo "================================================"
echo "Installing Editors and other Stuff"
echo " $(tput setaf 4)1-) Sublime Text 3"
cd ~/ && ./addi https://download.sublimetext.com/sublime-text_build-3126_amd64.deb
echo " $(tput setaf 4)2-) Visual Studio Code"
cd ~/ && ./addi https://go.microsoft.com/fwlink/?LinkID=760868
echo " $(tput setaf 4)3-) PgAdmin3"
sudo apt-get install -y pgadmin3
echo " $(tput setaf 4)4-) InkScape"
sudo apt-get install -y InkScape
echo " $(tput setaf 4)5-) Gimp"
sudo apt-get install -y gimp
echo " $(tput setaf 4)6-) GIT"
sudo apt-get install -y git
git config --global user.name "LuisHCK"
git config --global user.email "luisjcenteno@live.com"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment