Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nicolasmendoza/2d04fa20b66fa05ee8fb25874ffe744d to your computer and use it in GitHub Desktop.
Save nicolasmendoza/2d04fa20b66fa05ee8fb25874ffe744d to your computer and use it in GitHub Desktop.
Installing PGADMIN 4 - ubuntu
sudo apt-get install virtualenv python-pip libpq-dev python-dev
cd
virtualenv pgadmin4
cd pgadmin4
source bin/activate
wget https://ftp.postgresql.org/pub/pgadmin3/pgadmin4/v1.3/pip/pgadmin4-1.3-py2.py3-none-any.whl
pip install pgadmin4-1.3-py2.py3-none-any.whl
For pgAdmin 4 v1.3 on Ubuntu 16.04, according to the download page and desktop deployment:
Install dependencies, create a virtual environment, download, install & configure
sudo apt-get install virtualenv python-pip libpq-dev python-dev
cd
virtualenv pgadmin4
cd pgadmin4
source bin/activate
wget https://ftp.postgresql.org/pub/pgadmin3/pgadmin4/v1.3/pip/pgadmin4-1.3-py2.py3-none-any.whl
pip install pgadmin4-1.3-py2.py3-none-any.whl
Configure
Write the SERVER_MODE = False in lib/python2.7/site-packages/pgadmin4/config_local.py to configure to run in single-user mode:
echo "SERVER_MODE = False" >> lib/python2.7/site-packages/pgadmin4/config_local.py
Run
python lib/python2.7/site-packages/pgadmin4/pgAdmin4.py
Access at http://localhost:5050
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment