- Docker
- Node 17.2 or later
- Run
corepack enable. This enables corepack in Node to make thepnpmpackage manager available. - Run
pnpm ito install dependencies for the whole repository. - Copy
.env.exampleto e.g..env.localand symlink to.env.current- Windows:
mklink .env.local .env.current - Linux:
ln -s .env.current .env.local
- Windows:
- Configure your current envfile appropriately (AWS account ID etc.)
- Go to the
packages/node/awsdirectory. - Run
pnpm cdk -- deploy --all
- Go to the
packages/node/compositordirectory. - Run
pnpm build:imageto build the Docker image. - Run
pnpm start:imageto start the Docker image. At the moment, this will automatically record a 60-second video clip.
aws ecr get-login-password --profile sandbox --region eu-west-1 | docker login --username AWS --password-stdin <account-id>.dkr.ecr.eu-west-1.amazonaws.comdocker tag midspace/compositor:latest <account-id>.dkr.ecr.eu-west-1.amazonaws.com/midspace/compositor:latestdocker push <account-id>.dkr.ecr.eu-west-1.amazonaws.com/midspace/compositor:latest
TODO
pnpm dlx npm-check-updates