Skip to content

Commit

Permalink
Merge pull request actionhero#765 from neilstuartcraig/patch-2
Browse files Browse the repository at this point in the history
correct npm run command
  • Loading branch information
evantahler committed Feb 12, 2016
2 parents a754ad0 + c1241ff commit 55ac83f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/source/includes/docs/core/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Plugins are loaded after all local actionhero project files, but initializers fo

## Including Plugins

`api.config.general.paths.plugin` (loaded from `/config/api.js`) is an array which contains the search path for your plugins. This will default to `./node_modules`, but you can add a local path to your project. Once you have the plugin search paths set up, you use `npm run actionhero link --name nameOfPlugin` to crete links in your top-level project to the plugin. This will also copy over any config files from the plugin into your project so you can modify them. The act of "linking" simply creates a `myPLugin.link` file in each component of your top-level project (actions, tasks, etc) which tells actionhero to load up files at boot from that plugin.
`api.config.general.paths.plugin` (loaded from `/config/api.js`) is an array which contains the search path for your plugins. This will default to `./node_modules`, but you can add a local path to your project. Once you have the plugin search paths set up, you use `npm run actionhero link --name nameOfPlugin` to create links in your top-level project to the plugin. This will also copy over any config files from the plugin into your project so you can modify them. The act of "linking" simply creates a `myPlugin.link` file in each component of your top-level project (actions, tasks, etc) which tells actionhero to load up files at boot from that plugin.

You can delete all (or some) links at any time.

Expand Down

0 comments on commit 55ac83f

Please sign in to comment.