- In frontend project,
./packages/frontend
, create two files.env.local
and.env.production
with contents as mentioned in theenv.example
file. - In the
ecs
cdk project,./packages/ecs
, link thecommon-constructs
project:npm run link:common-constructs
- Build frontend:
npm run build -w frontend
- Build the cdk project:
npm run build -w ecs
- Change into the
ecs
directory:cd packages/ecs
- Build the project:
npm run build
- Assume the correct AWS profile.
- Deploy the stack:
npx cdk deploy --all