How to install pgAdmin 4 on Ubuntu 16.04 ? Lack of information on homepage.
https://www.pgadmin.org/
https://www.postgresql.org/ftp/pgadmin3/pgadmin4/
phppgadminpostgresql
How to install pgAdmin 4 on Ubuntu 16.04 ? Lack of information on homepage.
https://www.pgadmin.org/
https://www.postgresql.org/ftp/pgadmin3/pgadmin4/
Best Answer
These are the steps I followed to make it run:
1) I didn't have
virtualenvwrapper
installed, so I (duh!) installed it2) Standing on my home folder, I made a
pgadmin
virtual environment, which creates apgadmin
folder, inside of which I tell it to activate itself3) Inside my virtual environment, I make sure to have required dependencies so I'd be able to build
wheel
forpycrypto
andpsycopg2
4) Having the required deps, now I can download and pip install the latest pgadmin4 release
5) pgAdmin4 is installed in my virtualenv, now I need to create a
config_local.py
in the same folder it was installed, and I will useconfig.py
as the base. So, let's find that one first:6) It tells me it's in
./lib/python2.7/site-packages/pgadmin4/config.py
so now I can copy it and run pgAdmin4:The webapp is now running at http://localhost:5050
### EDIT ###
To avoid updating this thread each time a new version of pgAdmin4 is released, i made a pgadmin4_installer repo at GitHub with: