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