Skip to main content

Getting Started

This section covers everything you need to get up and running with DocuStack development.

Prerequisites

  • AWS Account: Access to the DocuStack AWS account(s)
  • GitHub: Member of the DocuStack GitHub organization
  • Tools: Node.js 18+, Go 1.21+, Python 3.11+, Terraform 1.5+, Terragrunt 0.50+

Repository Access

Clone all repositories to work with the full stack:

cd ~/development
mkdir docustack && cd docustack

# Application code
git clone git@github.com:docustack/docustack-mono.git

# Infrastructure modules (Terraform)
git clone git@github.com:docustack/docustack-infrastructure-modules.git

# Environment configurations (Terragrunt)
git clone git@github.com:docustack/docustack-infrastructure-live.git

# Documentation (this site)
git clone git@github.com:docustack/docustack-internal-docs.git

Environment Setup

AWS Credentials

Configure AWS CLI with the appropriate profile:

aws configure --profile docustack-dev

Environment Variables

Create a .envrc file in the parent directory for direnv:

# ~/development/docustack/.envrc
export AWS_PROFILE=docustack-dev
export AWS_REGION=us-east-1

Next Steps