-
Notifications
You must be signed in to change notification settings - Fork 147
Plugins
wvengen edited this page Nov 9, 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.
None at this moment.
- wiki - foodsoft's wiki pages
- 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
- 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
This is explained in Plugin development.