Create account In the terminal, run the following command:
BuilderxApi.Accounts . create_account % { email: "example@gmail.com" }
Get account In the terminal, run the following command:
BuilderxApi.Run . get_login_link "example@gmail.com"
Index product to elasticsearch
Run services from webcms
Run services from handle index
BuilderxApi.DynamicApp . start_rabbit
Rabbit.IndexingConsumer . start_link
Rabbit.TaskPoolConsumer . start_link
Run function index product
Elastic . re_setup_product_index
Elastic . confirm_re_setup_product_index
Run cache product (ets memory cache)
Run cache product
#site_id -> uuid example: 16952bde-3812-4373-8e9d-8c7c56857312
BuilderxApi.Run . ets_cache_product_site ( site_id )
Run cache variations of product
#site-id -> uuid example: 16952bde-3812-4373-8e9d-8c7c56857312
BuilderxApi.Run . ets_cache_agg_variations_by_site ( site_id )
Run cache by site_id
BuilderxApi.Run . cache_category_has_many_products ( site_id )
Remove cache by site_id
BuilderxApi.Run . remove_cache_category_by_site ( site_id )
Run all cache
BuilderxApi.Run . cache_category_all
Remove all cache
BuilderxApi.Run . remove_cache_category_all
Run import new address vietnamese
BuilderxApi.Geo.ImportGeo . import_new_vietnam_addresses ( )