diff --git a/ct/grist.sh b/ct/grist.sh index 3cf69833..154e3ff5 100644 --- a/ct/grist.sh +++ b/ct/grist.sh @@ -6,7 +6,7 @@ source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/m APP="Grist" var_tags="database;spreadsheet" var_cpu="1" -var_ram="1024" +var_ram="2048" var_disk="4" var_os="debian" var_version="12" diff --git a/install/grist-install.sh b/install/grist-install.sh index 4604655c..868c93ac 100644 --- a/install/grist-install.sh +++ b/install/grist-install.sh @@ -22,6 +22,7 @@ $STD apt-get install -y \ gnupg \ ca-certificates \ mc \ + unzip \ python3.11-venv msg_ok "Installed Dependencies" @@ -43,9 +44,9 @@ wget -q https://github.com/gristlabs/grist-core/archive/refs/tags/v${RELEASE}.zi unzip -q v$RELEASE.zip mv grist-core-${RELEASE} grist cd grist -yarn install -yarn run build:prod -yarn run install:python +$STD yarn install +$STD yarn run build:prod +$STD yarn run install:python cat </opt/grist/.env NODE_ENV=production GRIST_HOST=0.0.0.0 @@ -68,6 +69,7 @@ EnvironmentFile=-/opt/grist/.env [Install] WantedBy=multi-user.target EOF + systemctl enable -q --now grist.service msg_ok "Created Service" @@ -78,4 +80,4 @@ msg_info "Cleaning up" rm -rf /opt/v${RELEASE}.zip $STD apt-get -y autoremove $STD apt-get -y autoclean -msg_ok "Cleaned" +msg_ok "Cleaned" \ No newline at end of file