diff --git a/README.md b/README.md index 8bf6e27a1..89519510c 100644 --- a/README.md +++ b/README.md @@ -71,35 +71,20 @@ add_filter( 'my_srm_redirect_loop_filter', '__return_true' ); #### Setup Follow the configuration instructions above to setup the plugin. I recommend developing the plugin locally in an -environment such as [Varying Vagrant Vagrants](https://github.com/Varying-Vagrant-Vagrants/VVV). +environment such as [WP Local Docker](https://github.com/10up/wp-local-docker). #### Translation -Safe Redirect Manager has a [.pot file](https://github.com/tlovett1/Safe-Redirect-Manager/blob/master/languages/safe-redirect-manager.pot) -containing strings ready for translation. You can use a program like [POedit](http://poedit.net) to generate .po/.mo -files for your language. +Safe Redirect Manager has a [.pot file](https://github.com/tlovett1/Safe-Redirect-Manager/blob/master/lang/safe-redirect-manager.pot) +containing strings ready for translation. #### Testing Within the terminal change directories to the plugin folder. Initialize your unit testing environment by running the following command: -For VVV users: ```bash -bash bin/install-wp-tests.sh wordpress_test root root localhost latest +bash bin/install-wp-tests.sh database username password host version ``` -For VIP Quickstart users: -```bash -bash bin/install-wp-tests.sh wordpress_test root '' localhost latest -``` - -where: - -* wordpress_test is the name of the test database (all data will be deleted!) -* root is the MySQL user name -* root is the MySQL user password (if you're running VVV). Blank if you're running VIP Quickstart. -* localhost is the MySQL server host -* latest is the WordPress version; could also be 3.7, 3.6.2 etc. - Run the plugin tests: ```bash phpunit