summaryrefslogtreecommitdiffstats
path: root/rebuild-wekan.bat
diff options
context:
space:
mode:
Diffstat (limited to 'rebuild-wekan.bat')
-rw-r--r--rebuild-wekan.bat12
1 files changed, 10 insertions, 2 deletions
diff --git a/rebuild-wekan.bat b/rebuild-wekan.bat
index 486289c1..49d0fd58 100644
--- a/rebuild-wekan.bat
+++ b/rebuild-wekan.bat
@@ -1,5 +1,10 @@
@ECHO OFF
+REM NOTE: You can try this to install Meteor on Windows, it works:
+REM https://github.com/zodern/windows-meteor-installer/
+
+REM Installing Meteor with Chocolatey does not currently work.
+
REM NOTE: THIS .BAT DOES NOT WORK !!
REM Use instead this webpage instructions to build on Windows:
REM https://github.com/wekan/wekan/wiki/Install-Wekan-from-source-on-Windows
@@ -13,8 +18,8 @@ REM Install chocolatey
choco install -y git curl python2 dotnet4.5.2 nano mongodb-3 mongoclient meteor
-curl -O https://nodejs.org/dist/v8.17.0/node-v8.17.0-x64.msi
-call node-v8.17.0-x64.msi
+curl -O https://nodejs.org/dist/v12.16.3/node-v12.16.2-x64.msi
+call node-v12.16.3-x64.msi
call npm config -g set msvs_version 2015
call meteor npm config -g set msvs_version 2015
@@ -48,6 +53,9 @@ call meteor npm install
REM del /S /F /Q .build
call meteor build .build --directory
copy fix-download-unicode\cfs_access-point.txt .build\bundle\programs\server\packages\cfs_access-point.js
+REM ## Remove legacy webbroser bundle, so that Wekan works also at Android Firefox, iOS Safari, etc.
+del /S /F /Q rm .build/bundle/programs/web.browser.legacy
+REM ## Install some NPM packages
cd .build\bundle\programs\server
call meteor npm install
REM cd C:\repos\wekan\.meteor\local\build\programs\server