Changes

From Amahi Wiki
Jump to: navigation, search
349 bytes added ,  23:12, 1 October 2014
At the user level, plugins are installed like other apps from the Amahi app store. They are not a general purpose app, but rather a module that is added to the Amahi dashboard and setup areas for adding features. We have a few examples of plugins:
* [https://www.amahi.org/apps/db-backups-plugin Backing up databasesDatabase Backups] for some apps residing inside an HDA* [https://www.amahi.org/apps/pooling Greyhole UI] provide dashboard UI as in Amahi 6 (under development)* [https://www.amahi.org/apps/web-apps Webapps], which adds the ability to manually add webapps -- (useful for developers)* [https://www.amahi.org/apps/disk-stats Disk statsStats] plugin to monitor more detailed disk information* [https://www.amahi.org/apps/disk-wizard New-disk wizardDisk Wizard], to easily add new drives onto an Amahi system (under in '''development'')
= Technical Description =
Plugins are really Ruby on Rails engines that are automatically mounted onto the Amahi platform via the installation of the corresponding app under which a plugin has been set up. See the Plugin [https://github.com/amahi/platform/blob/master/doc/plugins.md technical documentation page].
=We have a generator for coming up with a skeleton for a plugin. See the technical documentation for help. Also, the [https://github.com/amahi Amahi GitHub page] contains sources for several of the plugins we have built, from smaller showcase examples to more complex plugins. = Migrations ==
Plugins can automatically do "migrations", which are changes to the database structure of the platform. This is a little dangerous and should be done with care, but it's a really powerful feature.
12,424

edits