pgAdmin4 is a rewrite of pgAdmin3 built using Python, javascirpt, and jQuery. It allows for pgAdmin to be accessed locally or via webserver. Here’s how you can install it in Xubuntu 16.04.
pgAdmin has a lot of other python dependencies. To save your machine from unwanted updating of system modules, it is good practice to install pgAdmin in a virtial environment of its own.
Here, I’m using virtualenvwrapper:
mkvirtualenv pgAdmin4
The python version I’m using is Python 2.7.12.
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
Your pgAdmin4 will be installed in **
Create a config_local.py in **
nano <location-of-virtualenv>/lib/python2.7/site-packages/pgadmin4/config_local.py
and add the line SERVER_MODE = False
SERVER_MODE = False
python <location-of-virtualenv>/lib/python2.7/site-packages/pgadmin4/pgAdmin.py
Go to http://localhost:5050
If you find my website or any of the materials I share useful, you can consider donating to the cause below.
Except when explicitly stated otherwise, this work and its contents by Ben Hur S. Pintor is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Other works (software, source code, etc.) referenced in this website are under their own respective licenses.
This site is powered by Jekyll and hosted on Github (view source)