Learning-HTMX/18-expenses-chart/notes.org

37 lines
1.3 KiB
Org Mode

* new exersice after long time
now will be learning https://github.com/a-h/templ
it's a templating solution for go, more similar to jsx
but it also needs a pre-processing step, so i'm adding it like tailwind
with Makefile for make run/live
and will need to add as a step in project build
* setting up
https://git.sunshine.industries/efim/golang-templ-and-tailwind
have separate repo, but i guess i'll remove .git from this dir,
to have single commits across Learning HTMX?
or maybe magit will just allow for simple integration?
just not pushing into origin, committing, and then committing from overall repository?
** not so simple, but still quite OK!
there's now 'subtree' which is separate concept from submodule,
and it is maybe simpler:
https://magit.vc/manual/magit/Subtree.html
i'm using the repo url
ssh://gitea@git.sunshine.industries:65433/efim/golang-templ-and-tailwind.git
and the command magit subtree add,
specify the directory, and it gets embedded it seems.
i have one level magit dispatch and my notes would be committed to the main repo,
i would potentially be able to pull in commits from the parent?
and maybe somehow contribute, but yeah, this is still confusing 🙂
how would i commit to subtree upstream if there are conflicting changes?
maybe i'll just get denied, as simple as that.
allright! let's add exercise specific data (again)