Compare commits

..

3 Commits

Author SHA1 Message Date
tteckster 287a0837d3
Update README.md 2023-05-15 15:21:15 -04:00
tteckster 1a553a30c9
Create CODE-AUDIT.md 2023-05-15 15:09:54 -04:00
tteckster 9933ff3711
Update paperless-ngx-install.sh
shfmt
2023-05-15 09:25:03 -04:00
3 changed files with 50 additions and 41 deletions

9
CODE-AUDIT.md Normal file
View File

@ -0,0 +1,9 @@
In the case of the < app > LXC, the process involves running multiple scripts for each application or service.<br>
Initially, the `<app>.sh` script is executed to collect system parameters.<br>
Next, the `build.func` script adds user settings and integrates all the collected information.<br>
Then, the `create_lxc.sh` script constructs the LXC container.<br>
Following that, the `<app>-install.sh` script is executed, which utilizes the functions exported from the `install.func` script for installing the required applications.<br>
Finally, the process returns to the `<app>.sh` script to display the completion message.<br>
Thoroughly evaluating the `<app>-install.sh` script is crucial to gain a better understanding of the application installation process.<br>
Every application installation utilizes the same set of reusable scripts: `build.func`, `create_lxc.sh`, and `install.func`. These scripts are not specific to any particular application.<br>

View File

@ -4,5 +4,5 @@
<h1><p align="center"><a href="https://tteck.github.io/Proxmox/">Proxmox VE Helper Scripts</a></p></h1> <h1><p align="center"><a href="https://tteck.github.io/Proxmox/">Proxmox VE Helper Scripts</a></p></h1>
<sub><div align="center"> Be cautious and thoroughly evaluate scripts and automation tasks obtained from external sources. </div></sub> <sub><div align="center"> Be cautious and thoroughly evaluate scripts and automation tasks obtained from external sources. </div></sub>
<sub><p align="center"><a href="https://github.com/tteck/Proxmox/blob/main/CODE-AUDIT.md">Be cautious and thoroughly evaluate scripts and automation tasks obtained from external sources.</a></p></sub>
<sub><div align="center"> Proxmox® is a registered trademark of Proxmox Server Solutions GmbH. </div></sub> <sub><div align="center"> Proxmox® is a registered trademark of Proxmox Server Solutions GmbH. </div></sub>

View File

@ -5,7 +5,7 @@
# License: MIT # License: MIT
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color color
verb_ip6 verb_ip6
catch_errors catch_errors
@ -15,52 +15,52 @@ update_os
msg_info "Installing Python3" msg_info "Installing Python3"
$STD apt-get install -y --no-install-recommends \ $STD apt-get install -y --no-install-recommends \
python3 \ python3 \
python3-pip \ python3-pip \
python3-dev \ python3-dev \
python3-setuptools \ python3-setuptools \
python3-wheel python3-wheel
msg_ok "Installed Python3" msg_ok "Installed Python3"
msg_info "Installing Dependencies (Patience)" msg_info "Installing Dependencies (Patience)"
$STD apt-get install -y --no-install-recommends \ $STD apt-get install -y --no-install-recommends \
redis \ redis \
postgresql \ postgresql \
build-essential \ build-essential \
imagemagick \ imagemagick \
fonts-liberation \ fonts-liberation \
optipng \ optipng \
gnupg \ gnupg \
libpq-dev \ libpq-dev \
libmagic-dev \ libmagic-dev \
mime-support \ mime-support \
libzbar0 \ libzbar0 \
poppler-utils \ poppler-utils \
default-libmysqlclient-dev \ default-libmysqlclient-dev \
automake \ automake \
libtool \ libtool \
pkg-config \ pkg-config \
git \ git \
curl \ curl \
libtiff-dev \ libtiff-dev \
libpng-dev \ libpng-dev \
libleptonica-dev \ libleptonica-dev \
sudo \ sudo \
mc mc
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing OCR Dependencies (Patience)" msg_info "Installing OCR Dependencies (Patience)"
$STD apt-get install -y --no-install-recommends \ $STD apt-get install -y --no-install-recommends \
unpaper \ unpaper \
ghostscript \ ghostscript \
icc-profiles-free \ icc-profiles-free \
qpdf \ qpdf \
liblept5 \ liblept5 \
libxml2 \ libxml2 \
pngquant \ pngquant \
zlib1g \ zlib1g \
tesseract-ocr \ tesseract-ocr \
tesseract-ocr-eng tesseract-ocr-eng
msg_ok "Installed OCR Dependencies" msg_ok "Installed OCR Dependencies"
msg_info "Installing JBIG2" msg_info "Installing JBIG2"