update to readme
This commit is contained in:
17
README.md
17
README.md
@@ -15,6 +15,7 @@ This README aims to document functionality of backend as well as required steps
|
|||||||
- [COOP and Managing User Data Load](#coop-and-managing-user-data-load)
|
- [COOP and Managing User Data Load](#coop-and-managing-user-data-load)
|
||||||
- [Product Data Load](#product-data-load)
|
- [Product Data Load](#product-data-load)
|
||||||
- [GeoIP Setup](#geoip-setup)
|
- [GeoIP Setup](#geoip-setup)
|
||||||
|
- [Tags](#tags)
|
||||||
- [Development Utils](#development-utils)
|
- [Development Utils](#development-utils)
|
||||||
- [Fake product data generation](#fake-product-data-generation)
|
- [Fake product data generation](#fake-product-data-generation)
|
||||||
|
|
||||||
@@ -257,6 +258,22 @@ Optional:
|
|||||||
`sudo apt install libmaxminddb0 libmaxminddb-dev mmdb-bin`
|
`sudo apt install libmaxminddb0 libmaxminddb-dev mmdb-bin`
|
||||||
|
|
||||||
|
|
||||||
|
## Tags
|
||||||
|
|
||||||
|
Both `Company` and `Product` models make use of tags.
|
||||||
|
|
||||||
|
### Load shopping taxonomy
|
||||||
|
|
||||||
|
To create the initial set of tags, we can use the `addtaxonomy` management command.
|
||||||
|
Reads the data from `datasets/shop-taxonomy.es-ES.txt` which is from google shopping
|
||||||
|
|
||||||
|
|
||||||
|
### Top-level tags
|
||||||
|
|
||||||
|
In order to extract the top level tags for use as categories, we can use the `extractparenttas` management command.
|
||||||
|
It saves the results to `datasets/top_tags.txt`
|
||||||
|
|
||||||
|
|
||||||
## Development Utils
|
## Development Utils
|
||||||
|
|
||||||
### Fake product data generation
|
### Fake product data generation
|
||||||
|
|||||||
Reference in New Issue
Block a user