mirror of
https://ghproxy.net/https://github.com/elementor/wp2static.git
synced 2025-08-30 13:38:59 +08:00
parent
8fbc749564
commit
3d9a7c7a08
3 changed files with 4 additions and 4 deletions
|
@ -5,6 +5,6 @@ sudo docker rm -f devmysql
|
||||||
sudo docker rm -f plugindevwp
|
sudo docker rm -f plugindevwp
|
||||||
sudo docker build -t leonstafford/wordpress-static-html-plugin:latest .
|
sudo docker build -t leonstafford/wordpress-static-html-plugin:latest .
|
||||||
sudo docker run --name devmysql -e MYSQL_ROOT_PASSWORD=banana -d mariadb
|
sudo docker run --name devmysql -e MYSQL_ROOT_PASSWORD=banana -d mariadb
|
||||||
sudo docker run --name plugindevwp --link devmysql:mysql -p 8080:80 -d -v $(pwd)/../:/app leonstafford/wordpress-static-html-plugin
|
sudo docker run --name plugindevwp --link devmysql:mysql -p 8080:80 -d -v $(pwd):/app leonstafford/wordpress-static-html-plugin
|
||||||
sudo docker exec plugindevwp sh /post_launch.sh
|
sudo docker exec plugindevwp sh /post_launch.sh
|
||||||
sudo docker exec -it plugindevwp sh /watch_source_files.sh
|
sudo docker exec -it plugindevwp sh /watch_source_files.sh
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
PROJECT_ROOT=$(pwd)/../
|
PROJECT_ROOT=$(pwd)
|
||||||
SVN_ROOT=/home/leon/svnplugindir
|
SVN_ROOT=/home/leon/svnplugindir
|
||||||
NEW_TAG=1.9
|
NEW_TAG=1.9
|
||||||
|
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
sudo docker rm -f devmysql
|
sudo docker rm -f devmysql
|
||||||
sudo docker rm -f plugindevwp
|
sudo docker rm -f plugindevwp
|
||||||
sudo docker rm -f seleniumserver
|
sudo docker rm -f seleniumserver
|
||||||
sudo docker build -t leonstafford/wordpress-static-html-plugin:latest ../
|
sudo docker build -t leonstafford/wordpress-static-html-plugin:latest .
|
||||||
sudo docker run --name seleniumserver -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-chrome:latest
|
sudo docker run --name seleniumserver -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-chrome:latest
|
||||||
sudo docker run --name devmysql -e MYSQL_ROOT_PASSWORD=banana -d mariadb
|
sudo docker run --name devmysql -e MYSQL_ROOT_PASSWORD=banana -d mariadb
|
||||||
sudo docker run --name plugindevwp --link devmysql:mysql -p 8080:80 -d -v $(pwd)/../:/app leonstafford/wordpress-static-html-plugin
|
sudo docker run --name plugindevwp --link devmysql:mysql -p 8080:80 -d -v $(pwd):/app leonstafford/wordpress-static-html-plugin
|
||||||
sudo docker exec plugindevwp sh /post_launch.sh
|
sudo docker exec plugindevwp sh /post_launch.sh
|
||||||
|
|
||||||
echo 'what is running now?'
|
echo 'what is running now?'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue