Update installation instructions

This commit is contained in:
Dmitriy Simushev 2014-11-27 12:01:12 +00:00
parent 144773fbe5
commit 163324ce9b
2 changed files with 12 additions and 11 deletions

View File

@ -32,8 +32,8 @@
* - Foo12:Bar
* - Acme:TheBestPlugin
*
* To turn the plugin on add its definition to the following to "plugins"
* structure in <mibew root>/configs/config.yml if the "plugins" structure looks
* To configure the plugin add its configs to the "plugins" structure in
* "<mibew root>/configs/config.yml" file. If the "plugins" structure looks
* like:
* <code>
* plugins: []
@ -41,11 +41,12 @@
* it will become:
* <code>
* plugins:
* -
* name: "Mibew:Boilerplate"
* config:
* "Mibew:Boilerplate":
* very_important_value: "$3.50"
* </code>
*
* To turn the plugin on navigate to "<Mibew Base URL>/operator/plugin" page and
* enable the plugin.
*/
namespace Mibew\Mibew\Plugin\Boilerplate;

View File

@ -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 "```<Mibew root>```/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 "```<Mibew root>```/configs/config.yml".
4. Add plugins configs to "plugins" structure in "```<Mibew root>```/configs/config.yml".
If the "plugins" stucture looks like ```plugins: []``` it will become:
```yaml
plugins:
-
name: "Mibew:Boilerplate"
config:
"Mibew:Boilerplate":
very_important_value: "$3.50"
```
5. Navigate to "`<Mibew Base URL>`/operator/plugin" page and enable the plugin.
## License