Update 'setup_pgadmin.sh'
This commit is contained in:
parent
65cddf36fa
commit
1ba0001640
@ -4,7 +4,11 @@
|
||||
sh /setup_programs.sh
|
||||
apt install -y lsb-release curl gpg
|
||||
apt install -y build-essential libssl-dev libffi-dev libgmp3-dev virtualenv libpq-dev python-dev
|
||||
#python-pip
|
||||
|
||||
# Install python & pip
|
||||
#python-pip #no module named pip
|
||||
python3 -m pip install -U pip
|
||||
python -m pip install wheel
|
||||
|
||||
# Download
|
||||
curl -fsS https://www.pgadmin.org/static/packages_pgadmin_org.pub | gpg --dearmor -o /usr/share/keyrings/packages-pgadmin-org.gpg
|
||||
@ -20,7 +24,9 @@ export PGADMIN_SETUP_PASSWORD="${PGADMIN_SETUP_PASSWORD}"
|
||||
export PGADMIN_PLATFORM_TYPE="debian"
|
||||
# silently install the below --yes indicate auto install
|
||||
sh /usr/pgadmin4/bin/setup-web.sh --yes
|
||||
#GET /usr/pgadmin4/web/config.py
|
||||
|
||||
cd /var/log/pgadmin/test
|
||||
source test_env/bin/activate
|
||||
|
||||
# Configure rverse-proxy
|
||||
apt install -y nginx
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user