Skip to content
wvengen edited this page Feb 6, 2014 · 38 revisions

Some features are only interesting for a number of foodcoops (like online payments); and some functionality is independent of the rest of foodsoft, but would be nice to have (like a wiki). These are candidates for foodsoft plugins.

Bundled plugins

  • wiki - foodsoft's wiki pages (enabled by default)

External plugins

  • mollie - online payment for Dutch banks using iDEAL
  • adyen - self-service online payment, as well as PIN payment using Adyen app and shuttle
  • signup - allow prospective members to signup for an account, which needs to be approved to become a full member
  • userinfo - Simple component to use foodsoft authentication in other systems (phpBB provided).

Plugins in development

  • messages - foodsoft's messaging system (will be enabled by default)
  • vokomokum - integration with Vokomokum accounts and finances
  • current_orders - New screens working on all orders that are closed but not settled.

Installing a plugin

  • Add the plugin to your Gemfile
    gem 'foodsoft_sayhi', path: 'path/to/foodsoft_sayhi'
    
  • Run bundle install to make sure new dependencies are installed
  • Import database migrations: rake railties:install:migrations (RoR guide)
  • Run database migrations: rake db:migrate
  • Review the plugin's README, you may want to add foodcoop configuration options.

Updating

When you've updated a foodsoft plugin, you need to run the following commands:

  • bundle install
  • rake railties:install:migrations (extra step for plugins)
  • rake db:migrate
  • in production, with plugins using deface, you may want to precompile templates for performance

Creating a new plugin

This is explained in Plugin development.

Clone this wiki locally