Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oradwell/wp-term
Pointless PHP script that provides visitors of your website a unix-like CLI to view posts / pages
https://github.com/oradwell/wp-term
wordpress
Last synced: about 12 hours ago
JSON representation
Pointless PHP script that provides visitors of your website a unix-like CLI to view posts / pages
- Host: GitHub
- URL: https://github.com/oradwell/wp-term
- Owner: oradwell
- License: mit
- Created: 2014-06-22T15:40:45.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-07T15:01:50.000Z (almost 9 years ago)
- Last Synced: 2025-01-11T02:55:06.161Z (8 days ago)
- Topics: wordpress
- Language: PHP
- Homepage:
- Size: 607 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
WP-Term
=======[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/ockcyp/wp-term/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/ockcyp/wp-term/?branch=master)
Pointless PHP script that provides visitors of your [WordPress](http://wordpress.org/) website a unix-like CLI to view and navigate posts / pages.
Not to be confused with [WP-CLI](http://wp-cli.org/) or [WP-Terminal](http://wordpress.org/plugins/wp-terminal/).
Demo
----
![demo.gif](https://raw.githubusercontent.com/oradwell/wp-term/master/demo.gif)GIF image recorded using [ScreenToGif](http://screentogif.codeplex.com/)
Test it on my blog:
[blog.radwell.codes](http://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](http://blog.radwell.codes/)
but can be changed by modifying behat config.Run the tests by executing:
```
vendor/bin/behat
```Deployment
----------
Requirements:
* WordPress
* Linux
* patch command
* twentythirteen themeExecute the following command:
```
./deploy.sh -d /path/to/wordpress
```