Fixes to rebuild-wekan.sh

This commit is contained in:
Lauri Ojansivu 2019-06-29 08:21:55 -04:00
parent b84dc20ded
commit b711cbae94

View file

@ -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.'