Pointless PHP script that provides visitors of your WordPress website a unix-like CLI to view and navigate posts / pages.
Not to be confused with WP-CLI or WP-Terminal.
GIF image recorded using ScreenToGif
Test it on my blog: blog.radwell.codes
Configuration is stored in config/ directory as app.php for production
and app_test.php for unit tests.
Code is fully covered by PHPUnit unit tests.
Assuming you have phpunit.phar in the project root directory, run PHPUnit
tests using this command:
php phpunit.phar
For behat tests you need to do composer install and have Selenium2 running
By default tests are run on my blog but can be changed by modifying behat config.
Run the tests by executing:
vendor/bin/behat
Requirements:
- WordPress
- Linux
- patch command
- twentythirteen theme
Execute the following command:
./deploy.sh -d /path/to/wordpress

