terraform infrastructure and content for asm.io.
- Ensure nix is installed: all dependencies are expressed in
flake.nix
- Set up env vars:
cp .envrc.example .envrc
and fill in the env vars, thendirenv allow
- Set up terraform backend:
cp infra/backend.tf.example infra/backend.tf
and fill in the details - Bootstrap the infra:
cd infra terraform init terraform apply
- Deploy the site:
just deploy
Use just serve
to start a local version of the site at http://localhost:8080