-
-
Notifications
You must be signed in to change notification settings - Fork 729
Configuration
Paul Mackay edited this page Apr 3, 2014
·
10 revisions
THIS IS A WORK-IN-PROGRESS.
Support for using ansible is being developed.
App-specific configuration settings can be defined in config/initializers/open_food_network.rb
. This can be copied from config/initializers/open_food_network.rb.example
.
OpenFoodNetwork.config do |config|
config.country = 'au'
end
Settings can be accessed as OpenFoodNetwork.config.country
.
Data files are selected based on the a directory matching the country configuration, e.g.
/db/default/spree/uk
/states.yml
/suburbs.yml
Defined in:
/lib/seed_data
Sample data includes:
- addresses
- enterprises
- users
- fees
- payment methods
- products
YAML files for this data are defined by country in:
/lib/seed_data
/au
/uk
/usa
Development environment setup
- Pipeline development process
- Bug severity
- Feature template (epic)
- Internationalisation (i18n)
- Dependency updates
Development
- Developer Guidelines
- The process of review, test, merge and deploy
- Making a great commit
- Making a great pull request
- Code Conventions
- Database migrations
- Testing and Rspec Tips
- Automated Testing Gotchas
- Rubocop
- Angular and OFN
- Feature toggles
- Stimulus and Turbo
Testing
- Testing process
- OFN Testing Documentation (Handbooks)
- Continuous Integration
- Parallelized test suite with knapsack
- Karma
Releasing
Specific features
Data and APIs
Instance-specific configuration
External services
Design