Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.01 KB

ubuntu-15.10_dev_env.md

File metadata and controls

45 lines (34 loc) · 1.01 KB

#Ubuntu Setup

This is assuming fresh 15.10 install.

  1. Install the basics.
sudo apt-get install python-pip python-dev build-essential 
sudo pip install --upgrade pip 
sudo pip install --upgrade virtualenv 
sudo pip install --upgrade virtualenvwrapper
  1. Install postgres. Source

Command line.

sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
wget -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O - | sudo apt-key add -
sudo apt-get update
sudo apt-get install postgresql
sudo su - postgres
psql

OPTIONAL STEPS (good for finding port that postgres is running on. Default is 5432. Postgres:

\conninfo
\q

Command line:

su MAINUSERNAME
(password)
  1. Install some servers. Source
sudo apt-get install git nginx gunicorn