mirror of
https://github.com/YunoHost-Apps/etherpad_ynh.git
synced 2024-09-03 18:36:10 +02:00
Update install
This commit is contained in:
parent
dae86721d8
commit
5a849b7cfc
1 changed files with 3 additions and 1 deletions
|
@ -25,7 +25,7 @@ sudo yunohost app initdb $db_user -p $db_pwd
|
|||
sudo yunohost app setting etherpadlite mysqlpwd -v $db_pwd
|
||||
|
||||
# Install dependances
|
||||
sudo apt-get install nodejs npm -y
|
||||
sudo apt-get install nodejs-legacy npm -y
|
||||
|
||||
# Copy files to the right place
|
||||
final_path=/var/www/etherpadlite
|
||||
|
@ -33,6 +33,8 @@ sudo mkdir -p $final_path
|
|||
sudo cp -a ../sources/* $final_path
|
||||
sudo cp ../conf/settings.json $final_path
|
||||
|
||||
sudo $final_path/bin/installDeps.sh
|
||||
|
||||
# Change variables in Wordpress configuration
|
||||
sudo sed -i "s/yunouser/$db_user/g" $final_path/settings.json
|
||||
sudo sed -i "s/yunopass/$db_pwd/g" $final_path/settings.json
|
||||
|
|
Loading…
Add table
Reference in a new issue