509 B
509 B
Create a Python virtual environment:
python3 -m venv pgadmin4
Navigate to the new directory and create some necessary folders:
cd ~/pgadmin4mkdir varmkdir var/storagemkdir var/sessions
Activate the virtual environment:
source /home/pi/pgadmin4/bin/activate
Install the Python pgadmin4 package:
pip install pgadmin4
This is an official package available in PyPi, maintained by the pgAdmin Development Team, that allows us to run pgAdmin as a Flask web application.