remove "This will create an ... LXC"
This commit is contained in:
parent
3b9160a1aa
commit
e5f2535b6f
@ -29,14 +29,27 @@ PYTHON_VERSION="3.12" setup_uv
|
|||||||
NODE_VERSION="22" install_node_and_modules
|
NODE_VERSION="22" install_node_and_modules
|
||||||
|
|
||||||
msg_info "Installing ArchiveBox"
|
msg_info "Installing ArchiveBox"
|
||||||
|
|
||||||
mkdir -p /opt/archivebox/{data,.npm,.cache,.local}
|
mkdir -p /opt/archivebox/{data,.npm,.cache,.local}
|
||||||
adduser --system --shell /bin/bash --gecos 'Archive Box User' --group --disabled-password --home /home/archivebox archivebox
|
adduser --system --shell /bin/bash --gecos 'Archive Box User' --group --disabled-password --home /home/archivebox archivebox
|
||||||
chown -R archivebox:archivebox /opt/archivebox/{data,.npm,.cache,.local}
|
|
||||||
chmod -R 755 /opt/archivebox/data
|
cd /opt/archivebox
|
||||||
$STD uv venv /opt/archivebox/.venv
|
uv venv --python 3.12 .venv
|
||||||
$STD uv pip install "[all]"
|
|
||||||
$STD uv pip install playwright
|
EXTRAS=$(curl -s https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/dev/setup.cfg |
|
||||||
|
awk '/\[options.extras_require\]/,/\[.*\]/' |
|
||||||
|
grep -E '^[a-zA-Z0-9_-]+ *= *' |
|
||||||
|
cut -d= -f1 | tr -d ' ' | paste -sd, -)
|
||||||
|
|
||||||
|
uv pip install "archivebox[$EXTRAS]"
|
||||||
|
uv pip install playwright
|
||||||
|
|
||||||
|
chown -R archivebox:archivebox /opt/archivebox
|
||||||
|
chmod -R 755 /opt/archivebox
|
||||||
|
|
||||||
sudo -u archivebox /opt/archivebox/.venv/bin/playwright install-deps chromium
|
sudo -u archivebox /opt/archivebox/.venv/bin/playwright install-deps chromium
|
||||||
|
sudo -u archivebox /opt/archivebox/.venv/bin/playwright install chromium
|
||||||
|
|
||||||
msg_ok "Installed ArchiveBox & Playwright"
|
msg_ok "Installed ArchiveBox & Playwright"
|
||||||
|
|
||||||
msg_info "Initial ArchiveBox Setup"
|
msg_info "Initial ArchiveBox Setup"
|
||||||
|
@ -1027,11 +1027,6 @@ check_container_storage() {
|
|||||||
start() {
|
start() {
|
||||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/python_to_uv/misc/tools.func)
|
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/python_to_uv/misc/tools.func)
|
||||||
if command -v pveversion >/dev/null 2>&1; then
|
if command -v pveversion >/dev/null 2>&1; then
|
||||||
if ! (whiptail --backtitle "Proxmox VE Helper Scripts" --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
|
|
||||||
clear
|
|
||||||
exit_script
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
SPINNER_PID=""
|
SPINNER_PID=""
|
||||||
install_script
|
install_script
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user