mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-13 02:39:43 +00:00
add node_options
This commit is contained in:
parent
024480d0a4
commit
464fa283ad
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,8 @@ msg_ok "Installed Node.js"
|
||||||
|
|
||||||
msg_info "Installing Grist"
|
msg_info "Installing Grist"
|
||||||
RELEASE=$(curl -s https://api.github.com/repos/gristlabs/grist-core/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
RELEASE=$(curl -s https://api.github.com/repos/gristlabs/grist-core/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||||
|
export CYPRESS_INSTALL_BINARY=0
|
||||||
|
export NODE_OPTIONS="--max-old-space-size=2048"
|
||||||
cd /opt
|
cd /opt
|
||||||
wget -q https://github.com/gristlabs/grist-core/archive/refs/tags/v${RELEASE}.zip
|
wget -q https://github.com/gristlabs/grist-core/archive/refs/tags/v${RELEASE}.zip
|
||||||
unzip -q v$RELEASE.zip
|
unzip -q v$RELEASE.zip
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue