Generator for DbGate plugins
First, install Yeoman and generator-dbgate using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-dbgate
Then generate your new project:
yo dbgate
Select one of plugin types:
- file format - parser and writer of file format
- database engine connector
If you create plugin of file format type, it is prepared to test it imediately. You need to have DbGate installed locally.
cd dbgate-plugin-myplugin
yarn plugin
If you start DbGate, you will see new plugin. Command yarn plugout
deletes plugin from DbGate.
Check plugins package.json and fill plugin description, keywords and author. Then yarn publish
will publish plugin into NPM repository. After this, plugin will bve accessible for all DbGate users.
MIT © Jan Prochazka