Initial commit.
This commit is contained in:
commit
628e5c3823
26 changed files with 3478 additions and 0 deletions
20
config.example.toml
Normal file
20
config.example.toml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[grocy]
|
||||
url = "https://grocy.example.com/"
|
||||
api_key = "replace-with-your-key"
|
||||
|
||||
[import]
|
||||
# Used only for newly created products. Existing products keep their location.
|
||||
location = "Ocado imports"
|
||||
quantity_unit = "Pack"
|
||||
# Relative to this config file. Keep this journal to prevent duplicate imports.
|
||||
state_file = "imports.sqlite3"
|
||||
|
||||
# Optional: map an Ocado retailer product ID (or exact receipt name if no ID)
|
||||
# to an existing Grocy product. Stock units per purchased pack can be overridden.
|
||||
# [products."72496011"]
|
||||
# product_id = 123
|
||||
# stock_per_purchase = 3
|
||||
|
||||
[openfoodfacts]
|
||||
# Identifies the application to Open Food Facts.
|
||||
contact = "you@example.com"
|
||||
Loading…
Add table
Add a link
Reference in a new issue