Skip to content
wvengen edited this page Dec 10, 2013 · 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 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

Plugins in development

None at the moment.

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