saleor-apps-rs/sitemap-generator
2024-07-10 23:51:59 +02:00
..
public starting sitemap rewrite 2024-07-03 16:07:04 +02:00
src ditch xml, let's just use sitemap.txt 2024-07-10 23:51:59 +02:00
build.rs starting sitemap rewrite 2024-07-03 16:07:04 +02:00
Cargo.toml ditch xml, let's just use sitemap.txt 2024-07-10 23:51:59 +02:00
Dockerfile sitemap app, lots of other stuff lol 2024-03-06 16:42:04 +01:00
README.md fix logging, docker building- sitemap args 2024-03-18 16:12:39 +01:00
rust-toolchain.toml starting sitemap rewrite 2024-07-03 16:07:04 +02:00

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/