saleor-apps-rs/sitemap-generator/README.md

944 B

Using sitemap-generator

To clear the cache, you can run the program with ./sitemap-generator --for-url https://my-saleor-api.com/graphql --cache-clear or docker compose --rm app-sitemap-generator sitemap-generator --for-url https://my-saleor-api.com/graphql --cache-clear To regenerate the cache, you can run the program with ./sitemap-generator --for-url https://my-saleor-api.com/graphql --cache-regenerate or docker compose --rm app-sitemap-generator sitemap-generator --for-url https://my-saleor-api.com/graphql --cache-regenerate

You can also add both flags (do --cache-regenerate first), which will clear and then regenerate.

Unofficial Saleor App Template

To update the saleor schema, you can download it from here and put into schema/schema.graphql To generate typings for events and gql queries, use: https://generator.cynic-rs.dev/