Skip to content

Pointless PHP script that provides visitors of your website a unix-like CLI to view posts / pages

License

Notifications You must be signed in to change notification settings

oradwell/wp-term

Repository files navigation

WP-Term

Scrutinizer Code Quality

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.

Demo

demo.gif

GIF image recorded using ScreenToGif

Test it on my blog: blog.radwell.codes

Configuration

Configuration is stored in config/ directory as app.php for production and app_test.php for unit tests.

Tests

PHPUnit

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

Behat

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

Deployment

Requirements:

  • WordPress
  • Linux
  • patch command
  • twentythirteen theme

Execute the following command:

./deploy.sh -d /path/to/wordpress

About

Pointless PHP script that provides visitors of your website a unix-like CLI to view posts / pages

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published