strudel/my-patterns
2023-01-02 23:33:48 +00:00
..
01
2023-01-01 10:05:58 +00:00
01b
2023-01-01 14:22:19 +00:00
01c
2023-01-01 17:22:16 +00:00
02
2023-01-02 23:33:48 +00:00
2023-01-01 11:34:11 +00:00

my-patterns

This directory can be used to save your own patterns, which then get made into a pattern swatch.

  1. fork and clone the strudel repository
  2. run npm run setup in the strudel folder
  3. Save one or more .txt files in this folder
  4. run npm run repl in the top-level strudel folder
  5. open http://localhost:3000/swatch/ !

deploy

  1. in your fork, go to settings -> pages and select "Github Actions" as source
  2. edit website/public/CNAME to contain <your-username>.github.io/strudel
  3. edit website/astro.config.mjs to use site: <your-username>.github.io/strudel and base /strudel
  4. go to Actions -> Build and Deploy and click Run workflow
  5. view your patterns at <your-username>.github.io/strudel/swatch/

Alternatively, github pages allows you to use a custom domain, like https://mycooldomain.org/swatch/. See their documentation for details.