From a4db246a93444c8ac4ddc17fe273d60d10fe97eb Mon Sep 17 00:00:00 2001 From: SmaRTeY Date: Sun, 16 Apr 2017 22:35:41 +0200 Subject: [PATCH] I changed Node.js version in Notes from 0.10.40 to 0.10.48. This made Node.js work on my CentOS 7 VPS as mentioned in the install procedure. I also added a remark regarding the ROOT_URL which gave me broken card details in certain condition + added the port number in ROOT_URL remark for similar reason. --- Install-and-Update.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Install-and-Update.md b/Install-and-Update.md index 1c8b98f..98b55c1 100644 --- a/Install-and-Update.md +++ b/Install-and-Update.md @@ -98,7 +98,7 @@ This is the most complex way, suitable if you know what you are doing and want t ### Notes -If you haven't already, you need to install Node.js, given that we need node version 0.10.40, make sure to either use the [custom packages][node-packages] (the ones of your OS are likely too old) or install the correct version from the Node.js [website][node-web]. +If you haven't already, you need to install Node.js, given that we need node version 0.10.48, make sure to either use the [custom packages][node-packages] (the ones of your OS are likely too old) or install the correct version from the Node.js [website][node-web]. * Uses Ubuntu 16.04 VM. You need websockets enabled on your VM. * For Caddy webserver, ports 80 and 443 need to be open. Caddy has automatic Let's Encrypt, @@ -192,6 +192,8 @@ export PORT=3000 node main.js ``` +TIP. If you use a public URL for your ROOT_URL instead of a local URL or an IP address make sure the URL is the same when visiting your Wekan URL in your browser for the first time and make sure you add the port number similar to the PORT number you defined. Ie. when visiting your Wekan url like 'http(s)://your-domain.com' this would need a ROOT_URL setting like 'http(s)://your-domain.com:3000'. IF your ROOT_URL setting would be 'http(s)://www.your-domain.com:3000' when visiting the url in your browser without www you will run into url problems when trying to access Card details due to the fact the www is added to he url! The correct ROOT_URL setting is 'http(s)://your-domain.com:3000'. + If you are running it in an IP address, you may need for example ```bash export ROOT_URL='http://192.168.1.100:3000'