2017 © Pedro Peláez
 

dev wp-plugin-devops

WordPress Plugin Devops for developing WordPress Plugins

image

awsmug/wp-plugin-devops

WordPress Plugin Devops for developing WordPress Plugins

  • Thursday, May 24, 2018
  • by mahype
  • Repository
  • 1 Watchers
  • 2 Stars
  • 79 Installations
  • Shell
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

WordPress Plugin Devops (deprecated/discontinued)

Please use the WP Devops instead of the WordPress Plugins devops., (*1)

Setting everything up

Requirements

For this library Composer and Docker is required. Please install before starting., (*2)

Install

Add WP Plugin Devops functionality by using Composer., (*3)

composer require awsmug/wp-plugin-devops:dev-master

Install the environment by setting up config files for git, composer, phpunit and so on., (*4)

vendor/bin/wpdevops install

Start the local server., (*5)

vendor/bin/wpdevops start

Stop the local server., (*6)

vendor/bin/wpdevops stop

After the changes were made, sync your data to the docker container., (*7)

vendor/bin/wpdevops sync

Clean up all automatic produced scripts., (*8)

vendor/bin/wpdevops clean

Local Development

Docker container for development

The docker on which the environment is based contains., (*9)

  • Nginx webserver
  • WordPress
  • WP-CLI
  • PHP
  • phpMyAdmin
  • phpUnit
  • Behat

Testing

Travis

You can connect your github account with travis and all your tests will be executed automatically on pushing your code to github., (*10)

phpUnit

Put all your tests to the directory 'tests/phpunit'., (*11)

Behat

Put all your .feature files to the directory 'tests/behat' and all your FeatureContext class files to the directory 'tests/behat'., (*12)

The Versions

24/05 2018

dev-master

9999999-dev

WordPress Plugin Devops for developing WordPress Plugins

  Sources   Download

GPL-3.0

The Requires