mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-10 21:28:31 +00:00
my-patterns
This directory can be used to save your own patterns, which then get made into a pattern swatch.
- fork and clone the strudel repository
- run
npm run setupin the strudel folder - Save one or more .txt files in this folder
- run
npm run replin the top-level strudel folder - open
http://localhost:3000/swatch/!
deploy
- in your fork, go to settings -> pages and select "Github Actions" as source
- edit
website/public/CNAMEto contain<your-username>.github.io/strudel - edit
website/astro.config.mjsto use site:<your-username>.github.io/strudeland base/strudel - go to Actions ->
Build and Deployand clickRun workflow - 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.