docker run -it --rm -v $(pwd):/documents asciidoc-wp example.adoc
Or you can just run the convenience scripts:
./build ./publish example.adoc
There is a configuration file required with the following 3 configuration variables:
-
URL: Wordpress XML_RPC URL (don’t forget to append /xmlrpc.php)
-
USERNAME: Wordpress login name
-
PASSWORD: Wordpress password
The file needs to be located within the current directory and needs to be named blogpost
There is an example file with sample contents. Just rename it to blogpost and edit appropriately.