Skip to content

asm.io

Notifications You must be signed in to change notification settings

ametzger/asm.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asm.io

terraform infrastructure and content for asm.io.

Setup

  • 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, then direnv 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

Development

Use just serve to start a local version of the site at http://localhost:8080