TODO:
- How to copy plugins into place
-
Configure Behat.yml
Here I've used the details for
http://local.wordpress-trunk.dev/:- Database:
wordpress_trunk
- Database:
| version: 2 | |
| jobs: | |
| build: | |
| docker: | |
| - image: circleci/node:10 | |
| steps: | |
| - checkout | |
| - run: npm install | |
| - run: sudo apt-get update && sudo apt-get install -y python-dev | |
| - run: sudo curl -O https://bootstrap.pypa.io/get-pip.py |
| version: 2 | |
| jobs: | |
| build: | |
| docker: | |
| - image: circleci/node:10 | |
| steps: | |
| - checkout | |
| # Download and cache dependencies | |
| - restore_cache: |
| $.widget( "nmk.currencyField", { | |
| // Default options. | |
| options: { | |
| decimalPlaces: 2, | |
| decimalSeperator: ".", | |
| thousandSeperator: ",", | |
| }, | |
| _create: function() { |
| <?php | |
| /* | |
| Plugin Name: Import Venues WP CLI command | |
| Plugin URI: http://wordpress.org/plugins/hello-dolly/ | |
| Description: Adds `wp eo venue import <path-to-file>` command. | |
| Author: Stephen Harris | |
| Version: 0.1 | |
| */ | |
| // Exit if accessed directly |
| <?php | |
| /** | |
| * Plugin Name: OAuth 1.0a Single Access Token | |
| * Description: Create Single Access Tokens | |
| * Version: 0.1.0 | |
| * | |
| */ | |
| /** | |
| * Allows you to create a 'single access token' for each consumer. |
| #!/bin/bash | |
| # Delete the rewrite_rules of every blog and ping them to recreate the rewrite rules. | |
| # | |
| # Assumptions: | |
| # 1. Your database prefix is wp_ | |
| # 2. Your sites are using https:// | |
| # 3. The mysql credentials specifed in your .cnf file have the approriate permissions (obviously) | |
| # | |
| # Usage: ./report-all-blog-themes.sh /path/to/mysql.cnf | |
| set -e |
| <?php | |
| if ( ! defined( 'WP_CLI' ) || ! WP_CLI ) { | |
| return; | |
| } | |
| /** | |
| * Implements example command. | |
| */ | |
| class Benchmark_Command extends WP_CLI_Command { |