1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodebb_ynh.git synced 2024-09-03 19:46:29 +02:00

Update install

This commit is contained in:
frju365 2017-04-19 20:43:13 +02:00 committed by GitHub
parent 6d1f5cdc6c
commit 30477186fb

View file

@ -75,8 +75,12 @@ ynh_app_setting_set $app port $port
# INSTALL DEPENDENCIES # INSTALL DEPENDENCIES
#================================================= #=================================================
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
sudo apt-get update
sudo apt-get install -yy -qq mongodb-org
sudo curl -sL https://deb.nodesource.com/setup_7.x | sudo bash - sudo curl -sL https://deb.nodesource.com/setup_7.x | sudo bash -
sudo apt-get install -yy -qq nodejs mongodb mongo-tools sudo apt-get install -yy -qq nodejs
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE
@ -90,6 +94,7 @@ SETUP_SOURCE # Télécharge la source, décompresse et copie dans $final_path
# BEGINING OF THE INSTALLATION # BEGINING OF THE INSTALLATION
#================================================= #=================================================
sudo service mongod start
script_dir="$PWD" script_dir="$PWD"
pushd "$final_path" pushd "$final_path"
sudo npm install sudo npm install