summaryrefslogtreecommitdiffstats
path: root/rebuild-wekan.sh
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-06-29 08:21:55 -0400
committerLauri Ojansivu <x@xet7.org>2019-06-29 08:21:55 -0400
commitb711cbae942f2a246f27e5f91ca929d006e89f7b (patch)
treea41bda926ce5225c8e523654cd33d8824bd78e4d /rebuild-wekan.sh
parentb84dc20ded0375d9ab14ec05c78b737398d76b83 (diff)
downloadwekan-b711cbae942f2a246f27e5f91ca929d006e89f7b.tar.gz
wekan-b711cbae942f2a246f27e5f91ca929d006e89f7b.tar.bz2
wekan-b711cbae942f2a246f27e5f91ca929d006e89f7b.zip
Fixes to rebuild-wekan.sh
Diffstat (limited to 'rebuild-wekan.sh')
-rwxr-xr-xrebuild-wekan.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/rebuild-wekan.sh b/rebuild-wekan.sh
index 68d869fd..d1fd5766 100755
--- a/rebuild-wekan.sh
+++ b/rebuild-wekan.sh
@@ -73,9 +73,14 @@ do
if [[ "$OSTYPE" == "linux-gnu" ]]; then
echo "Linux";
# Debian, Ubuntu, Mint
- sudo apt-get install -y build-essential gcc g++ make git curl wget
- curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
- sudo apt-get install -y nodejs
+ sudo apt-get install -y build-essential gcc g++ make git curl wget npm nodejs
+ sudo npm -g install npm
+ sudo chown wekan:wekan ../../.npm -R
+ #curl -0 -L https://npmjs.org/install.sh | sudo sh
+ sudo npm -g install n
+ sudo n 10.16.0
+ #curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
+ #sudo apt-get install -y nodejs
elif [[ "$OSTYPE" == "darwin"* ]]; then
echo "macOS";
pause '1) Install XCode 2) Install Node 8.x from https://nodejs.org/en/ 3) Press [Enter] key to continue.'