Run

Accounts

  1. Create account In the terminal, run the following command:

BuilderxApi.Accounts.create_account %{email: "example@gmail.com"}
  1. Get account In the terminal, run the following command:

BuilderxApi.Run.get_login_link "example@gmail.com"

Index product to elasticsearch

  1. Run services from webcms

cd webcms && make beam
  1. Run services from handle index

BuilderxApi.DynamicApp.start_rabbit
Rabbit.IndexingConsumer.start_link
Rabbit.TaskPoolConsumer.start_link
  1. Run function index product

  • Reindex all product

Elastic.re_setup_product_index
  • Delete old index

Elastic.confirm_re_setup_product_index

Run cache product (ets memory cache)

  1. Run cache product

  1. Run cache variations of product

Run cache category

  1. Run cache by site_id

  1. Remove cache by site_id

  1. Run all cache

  1. Remove all cache

Run import new address vietnamese

Last updated