Public Repository

Last pushed: 4 months ago
Short Description
Short description is empty for this repo.
Full Description

Full description is empty for this repo.

Docker Pull Command
Owner
mzvv

Comments (1)
mzvv
4 months ago

Gmedia Gallery @ WordPress

Launch

$ docker pull mzvv/gmedia_gallery:init
$ docker run -i -p 28085:80 -m 2g --name GmediaGallery -t mzvv/gmedia_gallery:init /bin/bash
root@b4a62a0f48d5:/# service apache2 start
root@b4a62a0f48d5:/# mysqld_safe &
<Ctrl + P> and <Ctrl + Q>

Need to modify network configuration.
Because PhantomJS does not support "No Proxy for" localhost.

$ sudo vim /etc/hosts
+ 127.0.0.1 ram-test.mzw.jp

Faulty version

$ docker exec -it GmediaGallery /bin/bash
# cd /var/www/3.6/wp-content/plugins/grand-media
# git checkout 5e641813d69b3beecb9e321eb535e07c37e9dad4

Correct version

$ docker exec -it GmediaGallery /bin/bash
# cd /var/www/3.6/wp-content/plugins/grand-media
# git checkout 79ec39b5f333dbb8212ee3f6ad5beb779a40210a
<Ctrl + P> and <Ctrl + Q>

RevAjaxMutator

$ java -cp ${class-path} jp.mzw.revajaxmutator.CLI \
    test-each \
    jp.mzw.revajaxmutator.test.wp_plugins.gmedia_gallery.GmediaGalleryConfig \
    jp.mzw.revajaxmutator.test.wp_plugins.gmedia_gallery.GmediaGalleryTest
$ java -cp ${class-path} jp.mzw.revajaxmutator.CLI \
    record \
    jp.mzw.revajaxmutator.test.wp_plugins.gmedia_gallery.GmediaGalleryConfig \
    jp.mzw.revajaxmutator.test.wp_plugins.gmedia_gallery.GmediaGalleryTest
$ java -cp ${class-path} jp.mzw.revajaxmutator.CLI \
    generate-only \
    jp.mzw.revajaxmutator.test.wp_plugins.gmedia_gallery.GmediaGalleryConfig \
    jp.mzw.revajaxmutator.test.wp_plugins.gmedia_gallery.GmediaGalleryTest
$ java -cp ${class-path} jp.mzw.revajaxmutator.CLI \
    validate-concurrently \
    jp.mzw.revajaxmutator.test.wp_plugins.gmedia_gallery.GmediaGalleryConfig \
    jp.mzw.revajaxmutator.test.wp_plugins.gmedia_gallery.GmediaGalleryTest