Update rebuild-wekan.sh

This commit is contained in:
Lauri Ojansivu 2019-07-10 11:56:50 -04:00
parent bf24cf48fc
commit bbefc67b54

View file

@ -73,10 +73,11 @@ do
if [[ "$OSTYPE" == "linux-gnu" ]]; then if [[ "$OSTYPE" == "linux-gnu" ]]; then
echo "Linux"; echo "Linux";
# Debian, Ubuntu, Mint # Debian, Ubuntu, Mint
sudo apt-get install -y build-essential gcc g++ make git curl wget npm nodejs sudo apt-get install -y build-essential gcc g++ make git curl wget
sudo npm -g install npm # npm nodejs
sudo chown wekan:wekan ../../.npm -R #sudo npm -g install npm
#curl -0 -L https://npmjs.org/install.sh | sudo sh curl -0 -L https://npmjs.org/install.sh | sudo sh
sudo chown -R $(id -u):$(id -g) $HOME/.npm
sudo npm -g install n sudo npm -g install n
sudo n 8.16.0 sudo n 8.16.0
#curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - #curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
@ -113,7 +114,7 @@ do
npm_call -g install fibers@4.0.1 npm_call -g install fibers@4.0.1
# Install Meteor, if it's not yet installed # Install Meteor, if it's not yet installed
curl https://install.meteor.com | bash curl https://install.meteor.com | bash
sudo chown -R $USER ~/.meteor sudo chown -R $(id -u):$(id -g) $HOME/.npm $HOME/.meteor
break break
;; ;;
"Build Wekan") "Build Wekan")