Skip to content

stillinbeta/sibcom2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

aadffc1 · Dec 4, 2024
Nov 20, 2022
Jan 9, 2024
Apr 5, 2019
Nov 21, 2024
Jan 9, 2024
Jan 9, 2024
Jan 9, 2024
Nov 21, 2024
Nov 20, 2022
Mar 29, 2019
Jan 15, 2024
Jan 9, 2024
Jan 9, 2024
May 6, 2019
Nov 20, 2022
Jan 9, 2024
Dec 4, 2024

Repository files navigation

CircleCI

sibcom2

The second iteration of stillinbeta.com.

Built in Rust using Rocket.

Architecture

site.yaml is parsed and validated at compile time. The generator crate parses the yaml, and the bmon crate serializes it back to a Rust AST. The bmon crate also has the handler that turns that AST into HTML or JSON. The server crate only serves the handler.

Dynamic content

Most of the content is static, parsed directly from site.yaml. The latest section of /hello is the only dynamic content. It's pulled from a redis instance, one key per service. The redis instance is populated by the updater crate.

Deployment

All commits are built and validated by CircleCI. Commits to master are then built as docker images and pushed to docker hub.

The site is deployed to my digital ocean droplet. I configure it with ansible.

Push to deploy takes about 10 minutes.

About

stillinbeta.com (the second version)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published