Public Repository

Last pushed: 6 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
6 months ago

WikiHiero @ MediaWiki

Launch

$ docker pull mzvv/wikihiero:20170405191936
$ docker run -i -p 28082:80 --name roundcubemail -t mzvv/wikihiero:20170405191936 /bin/bash
root@b4a62a0f48d5:/# service apache2 start
root@b4a62a0f48d5:/# service mysql start
<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 wikihiero /bin/bash
# cd /var/www/html/mediawiki/extensions/wikihiero
# git checkout 102b901d6e083fa5b14c446bfc607e355bf932b3

Correct version

$ docker exec -it wikihiero /bin/bash
# cd /var/www/html/mediawiki/extensions/wikihiero
# git checkout 4bbf7c35807115cdcee9173ab934284c089e13c1
<Ctrl + P> and <Ctrl + Q>

RevAjaxMutator

$ java -cp ${class-path} jp.mzw.revajaxmutator.CLI \
    generate \
    jp.mzw.revajaxmutator.test.mediawiki.wikihiero.WikiHieroConfig \
    jp.mzw.revajaxmutator.test.mediawiki.wikihiero.WikiHieroTest
$ java -cp ${class-path} jp.mzw.revajaxmutator.CLI \
    validate \
    jp.mzw.revajaxmutator.test.mediawiki.wikihiero.WikiHieroConfig \
    jp.mzw.revajaxmutator.test.mediawiki.wikihiero.WikiHieroTest