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

Press This @ WordPress

Launch

$ docker pull mzvv/press_this:init
$ docker run -i -p 28087:80 -m 2g --name PressThis -t mzvv/press_this: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 PressThis /bin/bash
# cd /var/www/3.6/wp-content/plugins/in-over-your-archives
# git checkout eeeedc7f98ef2b4ea7b5ccf4b64eb209d33764b1

Correct version

$ docker exec -it PressThis /bin/bash
# cd /var/www/3.6/wp-content/plugins/in-over-your-archives
# git checkout 933430438cdf94147c2d3754ef4c121f098ef12e
<Ctrl + P> and <Ctrl + Q>

RevAjaxMutator

$ java -cp ${class-path} jp.mzw.revajaxmutator.CLI \
    test-each \
    jp.mzw.revajaxmutator.test.wp_plugins.press_this.PressThisConfig \
    jp.mzw.revajaxmutator.test.wp_plugins.press_this.PressThisTest
$ java -cp ${class-path} jp.mzw.revajaxmutator.CLI \
    record \
    jp.mzw.revajaxmutator.test.wp_plugins.press_this.PressThisConfig \
    jp.mzw.revajaxmutator.test.wp_plugins.press_this.PressThisTest
$ java -cp ${class-path} jp.mzw.revajaxmutator.CLI \
    generate-only \
    jp.mzw.revajaxmutator.test.wp_plugins.press_this.PressThisConfig \
    jp.mzw.revajaxmutator.test.wp_plugins.press_this.PressThisTest
$ java -cp ${class-path} jp.mzw.revajaxmutator.CLI \
    validate-concurrently \
    jp.mzw.revajaxmutator.test.wp_plugins.press_this.PressThisConfig \
    jp.mzw.revajaxmutator.test.wp_plugins.press_this.PressThisTest