Update maxun-install.sh
This commit is contained in:
parent
f25b57510c
commit
1196f34372
@ -104,11 +104,11 @@ EOF
|
|||||||
msg_ok "Setup MinIO"
|
msg_ok "Setup MinIO"
|
||||||
|
|
||||||
msg_info "Installing Maxun (Patience)"
|
msg_info "Installing Maxun (Patience)"
|
||||||
github_get_release "getmaxun/maxun"
|
cd /opt
|
||||||
wget -q -O /opt/maxun.tar.gz "$TARBALL_URL"
|
RELEASE=$(curl -s https://api.github.com/repos/getmaxun/maxun/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||||
tar -xzf /opt/maxun.tar.gz -C /opt
|
wget -q "https://github.com/getmaxun/maxun/archive/refs/tags/v${RELEASE}.zip"
|
||||||
mv /opt/getmaxun-maxun-* /opt/maxun
|
unzip -q v${RELEASE}.zip
|
||||||
msg_ok "Maxun installed successfully"
|
mv maxun-${RELEASE} /opt/maxun
|
||||||
cat <<EOF > /opt/maxun/.env
|
cat <<EOF > /opt/maxun/.env
|
||||||
# App Setup
|
# App Setup
|
||||||
NODE_ENV=development
|
NODE_ENV=development
|
||||||
|
Loading…
x
Reference in New Issue
Block a user