1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wordpress_ynh.git synced 2024-09-03 20:36:10 +02:00

Update install

This commit is contained in:
abeudin 2013-12-05 09:30:06 +01:00
parent dec5de3fb2
commit 8b514a00ce

View file

@ -50,9 +50,14 @@ then
apt-get install php5-cli
fi
curl https://raw.github.com/wp-cli/wp-cli.github.com/master/installer.sh | bash
export PATH=/home/admin/.wp-cli/bin:$PATH
wp core install --url=$domain$path --title=Yunohost --admin_user=admin --admin_password=$admin_passwd --admin_email=admin@$domain --path=$final_path
wp plugin activate http-authentication --path=$final_path
# Reload Nginx and regenerate SSOwat conf
sudo service nginx reload
sudo yunohost app ssowatconf
# Remove swap
sudo swapoff /var/swap.1
rm -Rf /var/swap.1