Actualiser pgadmin4/install.md
This commit is contained in:
@@ -7,13 +7,16 @@ python3 -m venv pgadmin4
|
|||||||
Navigate to the new directory and create some necessary folders:
|
Navigate to the new directory and create some necessary folders:
|
||||||
|
|
||||||
```
|
```
|
||||||
cd ~/pgadmin4mkdir varmkdir var/storagemkdir var/sessions
|
cd /home/dietpi/pgadmin4
|
||||||
|
mkdir var
|
||||||
|
mkdir var/storage
|
||||||
|
mkdir var/sessions
|
||||||
```
|
```
|
||||||
|
|
||||||
Activate the virtual environment:
|
Activate the virtual environment:
|
||||||
|
|
||||||
```
|
```
|
||||||
source ~/pgadmin4/bin/activate
|
source /home/dietpi/pgadmin4/bin/activate
|
||||||
```
|
```
|
||||||
|
|
||||||
Install the Python _pgadmin4_ package:
|
Install the Python _pgadmin4_ package:
|
||||||
@@ -32,7 +35,7 @@ sudo pip install simple-websocket
|
|||||||
Create now the _config\_local.py_ configuration file:
|
Create now the _config\_local.py_ configuration file:
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo nano ~/pgadmin4/lib/python3.13/site-packages/pgadmin4/config_local.py
|
sudo nano /home/dietpi/pgadmin4/lib/python3.13/site-packages/pgadmin4/config_local.py
|
||||||
```
|
```
|
||||||
(Remeber to check and replace the current python3 version!)
|
(Remeber to check and replace the current python3 version!)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user