pgAdmin 4 now available on PyPi

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers <pgadmin-hackers(at)lists(dot)postgresql(dot)org>, pgAdmin Support <pgadmin-support(at)postgresql(dot)org>
Subject: pgAdmin 4 now available on PyPi
Date: 2020-06-01 14:09:18
Message-ID: CA+OCxoztZ+fupJS_HHsdHtubcC8HBqOJe8Wmf7pCaw2tTZNa-Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgadmin-support

Hi

Starting with v4.22 pgAdmin is available on PyPi (
https://pypi.org/project/pgadmin4/) To install it, create a virtual
environment as required, and then use pip to install. Note that pgAdmin
will run in server mode, using system-wide paths so you may need to create
them first:

$ sudo mkdir /var/lib/pgadmin
$ sudo mkdir /var/log/pgadmin
$ sudo chown $USER /var/lib/pgadmin
$ sudo chown $USER /var/log/pgadmin
$ python3 -m venv pgadmin4
$ source pgadmin4/bin/activate
(pgadmin4) $ pip install pgadmin4
...
(pgadmin4) $ pgadmin4
NOTE: Configuring authentication for SERVER mode.

Enter the email address and password to use for the initial pgAdmin user
account:

Email address: user(at)domain(dot)com
Password:
Retype password:
Starting pgAdmin 4. Please navigate to http://127.0.0.1:5050 in your
browser.
* Serving Flask app "pgadmin" (lazy loading)
* Environment: production
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead.
* Debug mode: off

Enjoy!

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2020-06-01 15:50:18 RM5576: Improve error messaging if the storage and log directories cannot be created
Previous Message Dave Page 2020-06-01 09:32:44 pgAdmin 4 commit: Don't use virtualenv to create the venv on Windows.

Browse pgadmin-support by date

  From Date Subject
Next Message Aditya Toshniwal 2020-06-02 04:38:54 Re: PG Admin opens in browser
Previous Message Rishabh Kumar 2020-06-01 13:59:08 RE: PG Admin opens in browser