-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yml
More file actions
111 lines (91 loc) · 4.57 KB
/
config.example.yml
File metadata and controls
111 lines (91 loc) · 4.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
paths:
# The path to the SQLite database file.
database: "data/sqlite.db"
# The path to the log.
logging: "data/log.txt"
# Paths to imported files.
imports:
# Datagrids are Excel spreadsheets exported from Pronto datagrids.
# See docs/datagrid_export_guide.md for instructions on how to export these
# files from Pronto.
contract_items_datagrid: "data/import/contract_items.xlsx" #
inventory_items_datagrid: "data/import/inventory_items.xlsx"
gtin_items_datagrid: "data/import/gtin_items.xlsx"
price_rules_datagrid: "data/import/price_rules.xlsx"
pricelist_datagrid: "data/import/pricelist.xlsx"
supplier_items_datagrid: "data/import/supplier_items.xlsx"
inventory_web_data_items_datagrid: "data/import/inventory_web_data_items.xlsx"
# Manually-created list of web menu names.
web_menu: "data/import/web_menu.xlsx"
# Manually-created list of mappings between price rules and web menu names.
web_menu_mappings: "data/import/web_menu_mappings.xlsx"
# The supplier pricelist is a CSV file downloaded from the Pronto server.
# See docs/generate_spl_guide.md for instructions on how to download this
# file.
supplier_pricelist: "data/import/supplier_pricelist.csv"
# The missing images list must be a spreadsheet with a single sheet,
# containing a column with header "Item Code" or "item_code", and the
# column should contain a list of item codes with no product image online.
missing_images_report: "data/import/missing_images_report.xlsx"
# Paths to exported files.
exports:
# Reports are XLSX files intended to be opened and viewed by the user after
# running a command. Export these somewhere easily accessible.
downloaded_images_report: "data/export/downloaded_images_report.xlsx"
price_changes_report: "data/export/price_changes_report.xlsx"
supplier_price_changes_report: "data/export/supplier_price_changes_report.xlsx"
gtin_report: "data/export/gtin_report.xlsx"
web_data_updates_report: "data/export/web_data_updates_report.xlsx"
missing_images_report: "data/export/missing_images_report.xlsx"
# The tickets list is a plain text file that contains a list of codes that
# can be pasted into the rapid entry dialog for shelf putaway labels.
# See README.md for instructions on how to use this file.
tickets_list: "data/export/tickets_list.txt"
# pricelists are files that can be uploaded to the Pronto server to be
# imported using Pronto functions. See README.md for instructions on how
# to upload these files and import them.
pricelist: "data/export/pricelist.csv"
# The supplier_pricelist filename must contain {supp_code}.
supplier_pricelist: "data/export/supplier_pricelist_{supp_code}.csv"
# Web product menu data contains the menu locations for products, and is
# imported into Pronto directly from your local machine. See README.md for
# instructions on how import this data.
web_product_menu_data: "data/export/web_product_menu_data.csv"
# Tasks are tab-delimited flat files used by Taskrunner to quickly perform
# data entry tasks. See README.txt for instructions on how to execute these
# tasks.
contract_item_task: "data/export/contract_item_task.txt"
product_price_task: "data/export/product_price_task.txt"
# The price rules JSON file is used to update the price calculator app.
price_rules_json: "data/export/priceRules.json"
# The images directory is used to store downloaded product images, ready
# to be uploaded to an e-commerce platform.
images_dir: "data/export/images"
# Paths to files on the Pronto server.
remote:
# The location of the supplier pricelist provided by Office Choice.
supplier_pricelist: "/oclimport/supplierpricelist/SPL.PRN"
# The upload destination for pricelist to be imported.
pricelist: "/home/PRONTO_USERNAME/pricelist.csv"
# The upload destination for supplier pricelist to be imported.
# The filename must contain {supp_code}.
supplier_pricelist_import: "/home/PRONTO_USERNAME/supplier_pricelist_{supp_code}.csv"
# SSH configuration to connect to Pronto.
ssh:
hostname: "pronto.example.com"
username: "PRONTO_USERNAME"
password: "PRONTO_PASSWORD"
price_rules:
# Ignore these price rules when selecting price regions for price calculation.
ignore:
- ""
- "NA"
bin_locations:
# Ignore these BINs when selecting products that need price tickets.
ignore:
- "OWNUSE"
- "CLEAR"
gtin:
# Ignore these brands when checking which products are missing a GTIN.
# (Some brands just don't use barcodes.)
ignore_brands: []