saleor-apps-rs/sitemap-generator
2024-04-03 20:03:28 +02:00
..
public before adding GH CI 2024-03-11 14:11:47 +01:00
schema make commands for docker images 2024-03-11 17:37:24 +01:00
src allow dead code clippy 2024-04-03 20:03:28 +02:00
build.rs sitemap app, lots of other stuff lol 2024-03-06 16:42:04 +01:00
Cargo.toml fix logging, docker building- sitemap args 2024-03-18 16:12:39 +01: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

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/