Go to file
ekzyis 0b9561d455 Add poem 'internet feelings' 2024-11-21 00:39:05 +01:00
archetypes Rewrite theme in own code with less bloat 2024-05-19 16:53:33 -05:00
assets Better spacing 2024-06-23 23:03:57 +02:00
content Add poem 'internet feelings' 2024-11-21 00:39:05 +01:00
layouts Add old post about digital signatures 2024-06-11 12:43:37 +02:00
server Use templ 2024-06-02 22:20:30 -05:00
static Formatting 2024-06-23 23:03:57 +02:00
.gitignore Fix resources/ not in .gitignore 2024-05-19 17:38:40 -05:00
README.md Format shell.nix 2024-06-02 22:38:28 -05:00
deploy Add README 2024-05-19 17:37:24 -05:00
hugo.toml Use catppuccin-mocha as chroma style 2024-06-07 06:07:48 -05:00
shell.nix Format shell.nix 2024-06-02 22:38:28 -05:00
tailwind.config.js Rewrite theme in own code with less bloat 2024-05-19 16:53:33 -05:00

README.md

ekzyis

This is the code for my blog at https://ekzy.is/.

Development

// enter dev environment
$ nix-shell

// run server
$ hugo server

// other tab: run tailwindcss in watch mode
$ tailwindcss -i assets/css/input.css -o static/tailwind.css --watch

// other tab: run htmx backend
$ cd server
$ go install github.com/a-h/templ/cmd/templ@latest
$ templ generate
$ go run .

Deployment

// deploy static HTML generated by hugo
$ ./deploy

// update server manually
$ ssh ekzy.is
$ tmux at -t <session>
$ <CTRL-C>
$ git pull
$ cd server && templ generate && go build -o server .
$ ./server
$ <CTRL-B+D>