From e8191ec9fc4df03b96eada6992341bd815ccf2ac Mon Sep 17 00:00:00 2001 From: xavye Date: Wed, 4 Feb 2026 14:13:36 +0000 Subject: [PATCH] =?UTF-8?q?T=C3=A9l=C3=A9verser=20les=20fichiers=20vers=20?= =?UTF-8?q?"pgadmin4"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...as a web… by Jaime Martín Agüí Medium.md | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pgadmin4/pgAdmin on Raspberry Pi. Deploying pgAdmin 4 as a web… by Jaime Martín Agüí Medium.md diff --git a/pgadmin4/pgAdmin on Raspberry Pi. Deploying pgAdmin 4 as a web… by Jaime Martín Agüí Medium.md b/pgadmin4/pgAdmin on Raspberry Pi. Deploying pgAdmin 4 as a web… by Jaime Martín Agüí Medium.md new file mode 100644 index 0000000..b8cdc48 --- /dev/null +++ b/pgadmin4/pgAdmin on Raspberry Pi. Deploying pgAdmin 4 as a web… by Jaime Martín Agüí Medium.md @@ -0,0 +1,25 @@ +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. \ No newline at end of file