Updated Install and Update (markdown)

Lauri Ojansivu 2017-07-15 01:25:15 +03:00
parent 7ab33feb60
commit 73f493b2ed

@ -56,7 +56,7 @@ You can find a bash installation script at https://github.com/wekan/wekan-autoin
### Install Node.js ### Install Node.js
Make sure Node.js is installed (currently Version 4.8.1 is required). If you don't have this version, you can use the [node packages][node-packages]. Make sure Node.js is installed (currently Version 4.8.4 is required). If you don't have this version, you can use the [node packages][node-packages].
### Install MongoDB ### Install MongoDB
In order to run Wekan you need to have MongoDB installed. You can either install your distributions package, if they offer any or see the [MongoDB website][mongodb-website] how to install it. In order to run Wekan you need to have MongoDB installed. You can either install your distributions package, if they offer any or see the [MongoDB website][mongodb-website] how to install it.
@ -105,7 +105,7 @@ This is the most complex way, suitable if you know what you are doing and want t
### Notes ### Notes
If you haven't already, you need to install Node.js, given that we need node version 4.8.1, 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 4.8.4, 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. * 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, * For Caddy webserver, ports 80 and 443 need to be open. Caddy has automatic Let's Encrypt,
@ -145,6 +145,7 @@ git clone https://github.com/wekan/wekan
cd wekan/packages cd wekan/packages
git clone https://github.com/wekan/flow-router.git kadira-flow-router git clone https://github.com/wekan/flow-router.git kadira-flow-router
git clone https://github.com/meteor-useraccounts/core.git meteor-useraccounts-core git clone https://github.com/meteor-useraccounts/core.git meteor-useraccounts-core
sed -i 's/api\.versionsFrom/\/\/api.versionsFrom/' ~/.meteor/packages/meteor-useraccounts-core/package.js
cd .. cd ..
# When rebuilding, delete npm 5.x package-lock.json file because it gives Base64 package errors # When rebuilding, delete npm 5.x package-lock.json file because it gives Base64 package errors
@ -154,11 +155,11 @@ rm package-lock.json
## git checkout -b dwrensha-profile-bugfix devel ## git checkout -b dwrensha-profile-bugfix devel
## git pull https://github.com/dwrensha/wekan.git profile-bugfix ## git pull https://github.com/dwrensha/wekan.git profile-bugfix
# Install Node.js 4.8.1 # Install Node.js 4.8.4
sudo apt install build-essential g++ capnproto nodejs nodejs-legacy npm git curl sudo apt install build-essential g++ capnproto nodejs nodejs-legacy npm git curl
sudo npm -g install n sudo npm -g install n
## if the previous fails (and asks you to run as sudo) just rm /home/<username>/node_modules and retry ## if the previous fails (and asks you to run as sudo) just rm /home/<username>/node_modules and retry
sudo n 4.8.1 sudo n 4.8.4
sudo npm -g install npm@4.6.1 sudo npm -g install npm@4.6.1
sudo npm -g install node-gyp sudo npm -g install node-gyp
sudo npm -g install node-pre-gyp sudo npm -g install node-pre-gyp