Type something to search...

Developer Guide

Three-step journey: Backend → Sites → Development

Developer Guide

Three-step journey for Astrolock developers.

Tip

New to Astrolock? Follow the steps in order. Each step builds on the previous one.


Step 1: Provision AWS Backend

One-time setup per AWS account. Creates shared infrastructure for all your sites.

  • S3 bucket for Terraform state
  • DynamoDB table for state locking
  • ECR registry for Docker images
  • IAM groups for access control (backend, sites, deployers)

Guide: Backend Setup Time: ~10 minutes Required: Admin AWS credentials


Step 2: Provision Site Infrastructure

Per-site setup. Creates hosting infrastructure for each Astrolock site.

  • S3 bucket for site files
  • CloudFront CDN distribution
  • SSL certificate (ACM)
  • DNS records (optional Route53)
  • Deployer IAM user with limited permissions

Guides:

Time: ~30 minutes (SSL cert validation) Required: Site provisioner credentials (from Step 1)


Step 3: Develop Astrolock

Modify Astrolock itself. Change the generator, add features, customize behavior.

  • Install Astrolock for development
  • Understand the dual-system architecture (Bashly CLI + Astro)
  • Make common changes (styles, components, CLI commands)
  • Test your modifications
  • Build Docker images

Guides:

Reference:


Info

Just want to use Astrolock? See the User Guide for site creation and content management.