The site is hosted as a static generated HTML files on the server via [Caddy](https://caddyserver.com/) reverse proxy. There is an [example Caddyfile](./Caddyfile-preview) that can be used for deployment on server.
During development the axum web framework serves content as a HTTP server in a classic SSR HTML.
1.1 Run server in either `dev` or `production` mode `just prod`
1.2 Crawl the site with `just ssg` command to ensure all routes are being hit to indicate that all images have to be generated.
1.3 Wait till the server stops generating images. Monitor the CPU load until it drops. Takes few minutes.
2.`just export` will start the server in `production` mode and use `wget` to recursively crawl the site. Remember, content has to be linked somewhere on the site to be discovered by `wget`.
3.`just deploy` will synchronise the `/dist` folder with the server with `rsync`