Skip to content
Enrico Stano edited this page Feb 12, 2018 · 13 revisions

You have installed the Open Food Network on a dedicated server or a virtual machine. But there are some more steps to a fully functional app.

Site Configuration

Go to your new website and login with your admin credentials. You defined them earlier in your vars file. Visit the administration interface and click on Configuration. Enter a name for your site and check the other options. Add a Mail Method for a fully functional site, more info in Sending emails from OFN page.

Taxonomies

Add a taxonomy to classify products. An icon collection for these can be found in the OFN Design Dropbox folder in:

/HISTORICAL/design-ux/icon-font/design/taxon

Updates and deploying new releases

There are a lot of ways how update your Open Food Network installation. Two methods are described here:

Supporting services

Open Food Network supports several external services. You need to configure them if you want to use them.

Languages

OFN comes with several language files in config/locales. If you want to change the language of the application at a later point, you can do that directly on the server:

ssh example.com
cd apps/openfoodnetwork/current
vi config/application.yml  # change LOCALE
bundle exec rake RAILS_ENV=staging assets:clean
bundle exec rake RAILS_ENV=staging assets:precompile:primary RAILS_GROUPS=assets
bundle exec rake RAILS_ENV=staging assets:precompile:nondigest RAILS_GROUPS=assets
service unicorn_openfoodnetwork restart