Skip to content
Sigmund Petersen edited this page Aug 31, 2022 · 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 Drive in:

> OFN global > 6 Communication > Designs&logos > taxons

Updates and deploying new releases

There are a lot of ways how update your Open Food Network installation. The main method is described here:

External services

Open Food Network needs 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