install package in worpdress docker for plugin gsite
parent
701be40cf5
commit
b58e43f5d4
10
dd-ctl
10
dd-ctl
|
@ -646,6 +646,16 @@ upgrade_plugins_wp(){
|
||||||
sh -c "cd $SRC_FOLDER/wordpress/wp-content/mu-plugins; git pull"
|
sh -c "cd $SRC_FOLDER/wordpress/wp-content/mu-plugins; git pull"
|
||||||
fi
|
fi
|
||||||
docker-compose run --user=root dd-apps-wordpress-cli /bin/bash -c 'chown -R 33:33 /var/www/html/wp-content/mu-plugins;'
|
docker-compose run --user=root dd-apps-wordpress-cli /bin/bash -c 'chown -R 33:33 /var/www/html/wp-content/mu-plugins;'
|
||||||
|
##install plugin gsite
|
||||||
|
docker exec dd-apps-wordpress apt-get update
|
||||||
|
docker exec dd-apps-wordpress apt-get install git -y
|
||||||
|
docker exec dd-apps-wordpress apt install zlib1g-dev libjpeg-dev libpng-dev -y
|
||||||
|
docker exec dd-apps-wordpress apt-get install python3 python3-click python3-scrapy python3-unidecode python3-pillow python3-slugify -y
|
||||||
|
docker exec dd-apps-wordpress git clone https://gitlab.com/isard/gsite2wordpress
|
||||||
|
docker exec dd-apps-wordpress mv /var/www/html/gsite2wordpress /var/www
|
||||||
|
docker exec dd-apps-wordpress curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
|
||||||
|
docker exec dd-apps-wordpress chmod +x wp-cli.phar
|
||||||
|
docker exec dd-apps-wordpress mv wp-cli.phar /usr/local/bin/wp
|
||||||
}
|
}
|
||||||
|
|
||||||
update_logos_and_menu(){
|
update_logos_and_menu(){
|
||||||
|
|
Loading…
Reference in New Issue