-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BB-3262: Initial commit. Batch processing framework.
- Loading branch information
Philip Downer
committed
Nov 12, 2018
0 parents
commit 38cdc9c
Showing
2,191 changed files
with
171,499 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
https://www.gnu.org/licenses/gpl-3.0.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# WordPress Batch Processing | ||
|
||
Provides a framework to handle large data processing jobs by breaking it into smaller chunks and running each job individually via AJAX requests. | ||
|
||
## Installation | ||
|
||
The recommended method of installation is via [Composer](https://getcomposer.org/). | ||
|
||
### Composer | ||
For more information on using Composer to manage WordPress plugins [read this guide](https://deliciousbrains.com/using-composer-manage-wordpress-themes-plugins/). | ||
|
||
#### Add the repository to composer.json | ||
|
||
1. In the `extra` array ensure you have: | ||
|
||
```js | ||
"installer-paths": { | ||
"content/plugins/{$name}/": ["type:wordpress-plugin"] | ||
} | ||
``` | ||
|
||
Be sure that the installer path reflects your WordPress plugin directory. | ||
|
||
|
||
2. In the `repositories` array of composer.json, add the following | ||
|
||
```js | ||
{ | ||
"type": "git", | ||
"url": "[email protected]:RamseyInHouse/wp-ramsey-batch.git" | ||
} | ||
``` | ||
|
||
3. In the `require` object add: | ||
|
||
```js | ||
"RamseyInHouse/wp-ramsey-batch": "^1.0" | ||
``` | ||
If you'd like a different version of the plugin, check the [Releases](https://github.com/RamseyInHouse/wp-ramsey-batch/releases) section of Github. This plugin adheres to [semantic versioning guidelines](https://getcomposer.org/doc/articles/versions.md). | ||
|
||
4. Run the `composer install` command. | ||
|
||
### Download and Install | ||
|
||
You can download the plugin files here and add them to the `plugins` directory of your WordPress installation. [Follow the directions here](https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation_by_FTP). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"name": "RamseyInHouse/wp-ramsey-batch", | ||
"description": "Perform batch jobs inside of WordPress.", | ||
"type": "wordpress-plugin", | ||
"license": "GPL v3", | ||
"version": "1.0.0", | ||
"authors": [ | ||
{ | ||
"name": "Philip Downer", | ||
"email": "[email protected]", | ||
"homepage": "http://philipdowner.com" | ||
}, | ||
{ | ||
"name": "Alex MacArthur", | ||
"email": "[email protected]", | ||
"homepage": "https://macarthur.me" | ||
} | ||
], | ||
"require-dev": { | ||
"phpunit/phpunit": "^7.3", | ||
"mockery/mockery": "^1.1" | ||
}, | ||
"autoload": { | ||
"psr-4": {"RamseySolutions\\RamseyBatch\\": "src/"} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"RamseyBatchTests\\": "tests/" | ||
} | ||
}, | ||
"require": { | ||
"php": ">=7.2", | ||
"composer/installers": "^1.0.7" | ||
} | ||
} |
Oops, something went wrong.