summaryrefslogtreecommitdiffstats
path: root/stacksmith/user-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'stacksmith/user-scripts')
-rwxr-xr-xstacksmith/user-scripts/build.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/stacksmith/user-scripts/build.sh b/stacksmith/user-scripts/build.sh
index a874534a..8ea6cd91 100755
--- a/stacksmith/user-scripts/build.sh
+++ b/stacksmith/user-scripts/build.sh
@@ -3,7 +3,7 @@ set -euxo pipefail
BUILD_DEPS="bsdtar gnupg wget curl bzip2 python git ca-certificates perl-Digest-SHA"
NODE_VERSION=v8.14.0
-METEOR_RELEASE=1.6.0.1
+#METEOR_RELEASE=1.6.0.1 - for Stacksmith, meteor-1.8 branch that could have METEOR@1.8.1-beta.8 or newer
USE_EDGE=false
METEOR_EDGE=1.5-beta.17
NPM_VERSION=latest
@@ -19,6 +19,7 @@ sudo useradd --user-group --system --home-dir /home/wekan wekan
sudo mkdir -p /home/wekan
sudo chown wekan:wekan /home/wekan/
+# Using meteor-1.8 branch that has newer Meteor that is compatible with MongoDB 4.x
sudo -u wekan git clone -b meteor-1.8 https://github.com/wekan/wekan.git /home/wekan/app
sudo yum install -y ${BUILD_DEPS}
@@ -52,7 +53,9 @@ cd /home/wekan
sudo curl "https://install.meteor.com" -o /home/wekan/install_meteor.sh
sudo chmod +x /home/wekan/install_meteor.sh
sudo sed -i 's/VERBOSITY="--silent"/VERBOSITY="--progress-bar"/' ./install_meteor.sh
-echo "Starting meteor ${METEOR_RELEASE} installation... \n"
+echo "Starting installation of "
+sudo cat /home/wekan/app/.meteor/release
+echo " ...\n"
# Check if opting for a release candidate instead of major release
if [ "$USE_EDGE" = false ]; then