Update create.rst

This commit is contained in:
ResponsiveWebApps 2016-11-24 16:56:22 +01:00 committed by GitHub
parent 26089b3b5e
commit fddc0e0662

View file

@ -165,7 +165,7 @@ Linking the plugin
To test the plugin before going through the process of publishing, try linking the plugin into the node_module folder of your instance.
https://docs.npmjs.com/cli/link

Using the terminal in the folder were you created your plugin, ``/plugins/{YOUR-PLUGIN-ID}``.
Using the terminal in the folder were you created your plugin, ``/plugins/my-plugin``.

.. code::

@ -175,7 +175,7 @@ Then in the source folder were nodebb is installed.

.. code::

npm link {YOUR-PLUGIN-ID
npm link my-plugin
Your plugin should now be available in admin to be activated.