Commit 148ab60dd6b902c48a01f8274b549692d27cdec5

Authored by tangwang
1 parent 58beae7e

docs

@@ -14,9 +14,14 @@ source .env @@ -14,9 +14,14 @@ source .env
14 14
15 ## 测试pipeline 15 ## 测试pipeline
16 16
17 -1. fake数据 生成商品导入数据 提交到店匠的店铺: 17 +1.
  18 +店铺1 tenant_id=162:
  19 +fake数据 生成商品导入数据 提交到店匠的店铺:
18 cd /home/tw/SearchEngine && source /home/tw/miniconda3/etc/profile.d/conda.sh && conda activate searchengine && python scripts/csv_to_excel_multi_variant.py --output with_colors.xlsx 20 cd /home/tw/SearchEngine && source /home/tw/miniconda3/etc/profile.d/conda.sh && conda activate searchengine && python scripts/csv_to_excel_multi_variant.py --output with_colors.xlsx
19 21
  22 +店铺2 tenant_id=
  23 +
  24 +
20 2. 后端:自动同步到mysql 25 2. 后端:自动同步到mysql
21 26
22 3. mysql到ES: 27 3. mysql到ES:
docs/亚马逊格式数据转店匠商品导入模板.md
@@ -7,6 +7,13 @@ @@ -7,6 +7,13 @@
7 ```bash 7 ```bash
8 python scripts/amazon_xlsx_to_shoplazza_xlsx.py --input-dir data/mai_jia_jing_ling/products_data --template docs/商品导入模板.xlsx 8 python scripts/amazon_xlsx_to_shoplazza_xlsx.py --input-dir data/mai_jia_jing_ling/products_data --template docs/商品导入模板.xlsx
9 ``` 9 ```
  10 +5. 导入到店匠后,自动同步到mysql
  11 +6. mysql 到 ES :
  12 +```bash
  13 +python scripts/recreate_and_import.py \
  14 + --tenant-id xxxxxxxxxx
  15 +```
  16 +
10 17
11 ## 亚马逊格式数据 → 店匠(Shoplazza)商品导入模板:转换说明 18 ## 亚马逊格式数据 → 店匠(Shoplazza)商品导入模板:转换说明
12 19