Getting started
This section gets a new developer from checkout to a running service and a validated docs build.
Prerequisites
| Requirement | Notes |
|---|---|
| Node and Yarn | Use Volta; the repo pins versions. Use yarn, not npm, for repo commands. |
| Docker | Required for local DynamoDB and ElasticMQ/SQS in docker-compose.yml. |
| AWS profiles | aws-drive-staging-admin for dev/staging; aws-drive-prod-admin for prod-only operations. |
SERVERLESS_ACCESS_KEY | Required by Serverless Framework v4 commands. |
GH_REGISTRY_TOKEN | GitHub token with read:packages for private package install. |
BUILD_PLATFORM | Set when your build platform differs from linux/arm64. |
Repository layout
First useful checks
yarn install
yarn typecheck
yarn testFor docs-only work:
cd docs/site
yarn dev
yarn buildPages
| Topic | Page |
|---|---|
| Clone, install, run a service offline | Local setup |
| dev / staging / prod accounts, stages | Environments |
| Branching, PR template, deploy flow | Contributing |