A serverless stack application template built in SST v3. Learn more.
-
Use this template to create your own repo.
-
Clone the new repo.
git clone <REPO_URL> MY_APP cd MY_APP
-
Rename the files in the project to the name of your app.
npx replace-in-file '/purple-stack/g' 'MY_APP' '**/*.*' --verbose
-
Copy mise.local.toml.example to mise.local.toml and update the values. Mainly the name of local aws profile in AWS_PROFILE which should be used for the deployment of the app.
-
Install mise for managing global tools, tasks and environment variables.
-
Install the global tools using Mise (Node, PNPM, ...) - run
mise install
also run if asked for
mise trust
-
Deploy!
pnpm install pnpm run sst:deploy
-
Change the role in Github Actions .github/actions/configure_aws_credentials to your desired deployment role.