A server plugin example for ctzn
- You need your own ctzn server (You will need to clone it since you will need to modify package.json to add your plugin.)
- Clone this repo and edit the db, api, schema, app folders as needed.
- For deployment, publish to npm. For development, use npm/yarn link.
- Add this plugin package as a dependency to the package.json of your ctzn clone.
- Configure your instance to enable your plugin:
- Execute:
$ node bin.js
- Press
C
to configure your server - In the
server-plugins
field, enter your plugin package name (comma-delimited if more than one) - Press
S
to start the server.
- Execute: