Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 744 Bytes

how-to-use-pages-from-openfoodfacts-web.md

File metadata and controls

17 lines (13 loc) · 744 Bytes

How to use pages from openfoodfacts-web

To avoid messing the product-opener repository with translations of web pages, we moved most pages in openfoodfacts-web repository specifically in the lang/ directory.

This repo only has a really minimal lang directory named lang-default.

If you want to have all contents locally, you should first clone openfoodfacts-web repo locally, and then:

  • if you are using docker, you can set the WEB_RESOURCES_PATH env variable to a relative or absolute path leading to openfoodfacts-web directory.
  • else, make symlink lang point to openfoodfacts-web lang directory, and html/off_web_html point to openfoodfacts-web html directory.