Go to file
Peder Bergebakken Sundt e62457cdb4 simplify shell 2023-06-24 15:15:43 +02:00
templates style48: body {margin: 0} 2022-11-30 00:29:07 +01:00
.envrc Backport s3 style 2022-10-14 00:51:38 +02:00
.gitignore stuff 2023-06-24 15:05:37 +02:00
Makefile small fixes 2022-11-20 00:38:30 +01:00
README.md partially port 48 to 49 2022-11-29 23:16:48 +01:00
api.py small fixes 2022-11-20 00:38:30 +01:00
environ.py stuff 2023-06-24 15:05:37 +02:00
filters.py add missing files 2022-11-29 23:22:46 +01:00
pull.sh small fixes 2022-11-20 00:38:30 +01:00
push.sh stuff 2023-06-24 15:05:37 +02:00
shell.nix simplify shell 2023-06-24 15:15:43 +02:00
xpath2json.py Add xpath2json tool 2022-11-20 00:40:42 +01:00

README.md

How do I load the dev environment?

Pick your poison:

nix-shell
direnv allow

Both require nix configured with a nixpkgs channel.

How to I get my user token?

Log in using a browser, then grab it from the local browser DB.

How to I set my user token?

Set it as the CARDS_ACCESS_TOKEN environment variable, somehow. ( Have a look at .envrc ;) )

How do I list my style ID's?

./api.py get-styles | jq .[].id

How do I pull all my styles and cards?

./pull.sh && find pvv/

(The pull is destructive.)

How do I build a style?

make render-style-49-file

Where 49 is the style ID.