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 .envrcand fill in the env vars, thendirenv allow - Set up terraform backend:
cp infra/backend.tf.example infra/backend.tfand 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