mirror of https://github.com/tteck/Proxmox.git
Update paperless-ngx-install.sh
add option to install Adminer
This commit is contained in:
parent
3da94bb95c
commit
85d523dbdf
|
@ -118,6 +118,15 @@ cd /opt/paperless/src
|
||||||
$STD python3 manage.py migrate
|
$STD python3 manage.py migrate
|
||||||
msg_ok "Set up PostgreSQL database"
|
msg_ok "Set up PostgreSQL database"
|
||||||
|
|
||||||
|
read -r -p "Would you like to add Adminer? <y/N> " prompt
|
||||||
|
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
|
||||||
|
msg_info "Installing Adminer"
|
||||||
|
$STD apt install -y adminer
|
||||||
|
$STD a2enconf adminer
|
||||||
|
systemctl reload apache2
|
||||||
|
msg_ok "Installed Adminer"
|
||||||
|
fi
|
||||||
|
|
||||||
msg_info "Setting up admin Paperless-ngx User & Password"
|
msg_info "Setting up admin Paperless-ngx User & Password"
|
||||||
## From https://github.com/linuxserver/docker-paperless-ngx/blob/main/root/etc/cont-init.d/99-migrations
|
## From https://github.com/linuxserver/docker-paperless-ngx/blob/main/root/etc/cont-init.d/99-migrations
|
||||||
cat <<EOF | python3 /opt/paperless/src/manage.py shell
|
cat <<EOF | python3 /opt/paperless/src/manage.py shell
|
||||||
|
|
Loading…
Reference in New Issue