-
Notifications
You must be signed in to change notification settings - Fork 147
Plugins
wvengen edited this page Jan 10, 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.
- wiki - foodsoft's wiki pages (enabled by default)
- 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
- vokomokum - integration with Vokomokum's existing system
None at the moment.
- 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.
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
This is explained in Plugin development.