From 163324ce9be3657744c0d22b6cc47f8dadd1b207 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Thu, 27 Nov 2014 12:01:12 +0000 Subject: [PATCH] Update installation instructions --- Plugin.php | 13 +++++++------ README.md | 10 +++++----- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/Plugin.php b/Plugin.php index 5741c42..8a869f1 100644 --- a/Plugin.php +++ b/Plugin.php @@ -32,8 +32,8 @@ * - Foo12:Bar * - Acme:TheBestPlugin * - * To turn the plugin on add its definition to the following to "plugins" - * structure in /configs/config.yml if the "plugins" structure looks + * To configure the plugin add its configs to the "plugins" structure in + * "/configs/config.yml" file. If the "plugins" structure looks * like: * * plugins: [] @@ -41,11 +41,12 @@ * it will become: * * plugins: - * - - * name: "Mibew:Boilerplate" - * config: - * very_important_value: "$3.50" + * "Mibew:Boilerplate": + * very_important_value: "$3.50" * + * + * To turn the plugin on navigate to "/operator/plugin" page and + * enable the plugin. */ namespace Mibew\Mibew\Plugin\Boilerplate; diff --git a/README.md b/README.md index 8f3fa88..65d22e9 100644 --- a/README.md +++ b/README.md @@ -7,15 +7,15 @@ It does nothing but can be used as a template for a real plugin. 1. Download files of the plugin. 2. Create folder "``````/plugins/Mibew/Mibew/Plugin/Boilerplate" (case does matter). 3. Put files of the plugins to the just created folder. -4. Add plugins defenition to "plugins" structure in "``````/configs/config.yml". +4. Add plugins configs to "plugins" structure in "``````/configs/config.yml". If the "plugins" stucture looks like ```plugins: []``` it will become: ```yaml plugins: - - - name: "Mibew:Boilerplate" - config: - very_important_value: "$3.50" + "Mibew:Boilerplate": + very_important_value: "$3.50" ``` +5. Navigate to "``/operator/plugin" page and enable the plugin. + ## License