Pgadmin4 with Fedora 30 - Printable Version +- TACTIC Open Source (http://forum.southpawtech.com) +-- Forum: TACTIC Open Source (http://forum.southpawtech.com/forumdisplay.php?fid=3) +--- Forum: TACTIC Discussion (http://forum.southpawtech.com/forumdisplay.php?fid=4) +--- Thread: Pgadmin4 with Fedora 30 (/showthread.php?tid=108) |
Pgadmin4 with Fedora 30 - Nachogor - 05-07-2020 Hi everyone! We are updating from Tactic 4.5 to 4.7 and while testing VM Tactic we found really hard to install PGAdmin 4 with Fedora 30. Did anyone succeed to install PGAdmin4 to access Postgre DB or does anyone have any other better option to PGadmin? Thanks very much! Nacho RE: Pgadmin4 with Fedora 30 - Diego - 05-07-2020 It should be easy with virtualenv: Create e virtualnev: # virtualenv pgadmin4 Activate it: # source pgadmin4/bin/activate Install pgadmin4 (check the last version, just now is v4.21) # pip install https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v4.21/pip/pgadmin4-4.21-py2.py3-none-any.whl create a config file in pgadmin4/lib/python3.7/site-packages/pgadmin4/config_local.py with something like (use the python version you have in path python3.X/site-packages): Code: import os Launch it: # python pgadmin4/lib/python3.6/site-packages/pgadmin4/pgAdmin4.py P.S. for production use you should configure an apache front end as you do for tactic. RE: Pgadmin4 with Fedora 30 - Nachogor - 05-07-2020 Thanks very mucho Diego! Didn't try with virtualenv and I was always missing packages! Great help!!!! |