From 1e5ccd260be25f07b63b71b2fe1074cf4673c7a7 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 17 Oct 2023 21:14:14 +0300 Subject: [PATCH] Updated Offline (markdown) --- Offline.md | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/Offline.md b/Offline.md index 2985792..b0e1d10 100644 --- a/Offline.md +++ b/Offline.md @@ -8,26 +8,34 @@ REQUIRED TO READ, HOW TO SET CORRECT SETTINGS: - Windows 2022 server example https://github.com/wekan/wekan/issues/5084 - Other settings example https://github.com/wekan/wekan/issues/4932 -1. Download wekan-VERSION-amd64-windows.zip from https://github.com/wekan/wekan/releases or https://releases.wekan.team/windows/ +DOWNLOAD: -2. Download newest Node.js https://github.com/wekan/node-v14-esm/releases/download/v14.21.4/node-v14.21.4-win-x64.exe . (Other release info is here https://github.com/wekan/node-v14-esm/releases/tag/v14.21.4 ). Please check you are running correct version with command `node -v`, it should show `14.21.4` . +1. [wekan-7.09-amd64-windows.zip](https://github.com/wekan/wekan/releases/download/v7.09/wekan-7.09-amd64-windows.zip) -3. Check required compatible version of MongoDB from https://wekan.github.io `Install WeKan ® Server` section and Download that version Windows MongoDB .msi installer from https://www.mongodb.com/try/download/community +2. [node-v14.21.4-win-x64.exe](https://github.com/wekan/node-v14-esm/releases/download/v14.21.4/node-v14.21.4-win-x64.exe) -4. Download [start-wekan.bat](https://raw.githubusercontent.com/wekan/wekan/master/start-wekan.bat) +3. [mongodb-windows-x86_64-6.0.11-signed.msi](https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.11-signed.msi) -5. Copy files from steps 1-4 to offline Windows computer +4. [start-wekan.bat](https://raw.githubusercontent.com/wekan/wekan/main/start-wekan.bat) -6. Install MongoDB.msi . In installer, uncheck downloading MongoDB compass. +5. Copy files from steps 1-4 with USB stick or DVD to offline Windows computer -7. Unzip wekan-VERSION.zip and copy it's bundle directory files `node.exe` and `start-wekan.bat` +6. Install mongodb-windows-x86_64-6.0.11-signed.msi . In installer, uncheck downloading MongoDB compass. -8. Edit `start-wekan.bat` with Notepad. There add windows computer IP address etc, like this, then Wekan will be at http://192.168.100/sign-in . Add there wekan server computer IP address, not localhost. +7. Unzip wekan-7.09-amd64-windows.zip , inside it is directory `bundle`, to it copy other files: + +``` +bundle (directory) + |_ start-wekan.bat (file) + |_ node-v14.21.4-win-x64.exe (file) + |_ main.js (already existing file) +``` +8. Edit `start-wekan.bat` with Notepad. There add [Windows computer IP address](https://support.microsoft.com/en-us/windows/find-your-ip-address-in-windows-f21a9bbc-c582-55cd-35e0-73431160a1b9) , like this, then Wekan will be at http://IP-ADDRESS-HERE/sign-in , for example http://192.168.0.100/sign-in but your different IP address. Add there wekan server computer IP address, not localhost. ``` REM # Writable path required to exist and be writable for attachments to migrate and work correctly SET WRITABLE_PATH=.. -SET ROOT_URL=http://192.168.0.100 +SET ROOT_URL=http://IP-ADDRESS-HERE SET PORT=80 ``` @@ -36,15 +44,15 @@ Or other port: REM # Writable path required to exist and be writable for attachments to migrate and work correctly SET WRITABLE_PATH=.. -SET ROOT_URL=http://192.168.0.100:2000 +SET ROOT_URL=http://IP-ADDRESS-HERE:2000 SET PORT=2000 ``` -Then Wekan will be at http://192.168.0.100:2000/sign-in +Then Wekan will be at http://IP-ADDRESS-HRERE:2000/sign-in -9. Double click `start-wekan.bat` to run it. (It may need right click, Run as Administrator). +9. Double click `start-wekan.bat` to run it. Give permission to network. If it does not work, try instead with right click, Run as Administrator. -10. For mobile devices, you can [create PWA app icon](PWA) using that http://192.168.0.100:2000/sign-in +10. For mobile devices, you can [create PWA app icon](PWA) using that http://IP-ADDRESS-HERE:2000/sign-in ## WeKan Updates