From 7e8ddeccf08aa31765a91198f13c3815c7ed3dec Mon Sep 17 00:00:00 2001 From: Kamil Sobol <5849952+sobolk@users.noreply.github.com> Date: Thu, 15 May 2025 15:39:02 -0700 Subject: [PATCH 1/2] mention seed package installation --- .../deploy-and-host/sandbox-environments/seed/index.mdx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/pages/[platform]/deploy-and-host/sandbox-environments/seed/index.mdx b/src/pages/[platform]/deploy-and-host/sandbox-environments/seed/index.mdx index 3c339cbbe01..dd86fbb7e48 100644 --- a/src/pages/[platform]/deploy-and-host/sandbox-environments/seed/index.mdx +++ b/src/pages/[platform]/deploy-and-host/sandbox-environments/seed/index.mdx @@ -34,7 +34,13 @@ The Sandbox Seed feature allows you to populate your Amplify sandbox environment ## Setting Up Your Seed Script -To get started, you need to create a seed script. This script will be executed when you deploy your sandbox environment and execute the `ampx sandbox seed` command. +To get started, install the `@aws-amplify/seed` package. + +```bash title="Terminal" +npm install @aws-amplify/seed --save-dev +``` + +Then, you need to create a seed script. This script will be executed when you deploy your sandbox environment and execute the `ampx sandbox seed` command. 1. Create a folder named `seed` under your `amplify` directory 2. Create a file named `seed.ts` inside the `seed` folder From 66a8f0b311cf9c0123a496e5004c37ada05cb800 Mon Sep 17 00:00:00 2001 From: Kamil Sobol <5849952+sobolk@users.noreply.github.com> Date: Thu, 15 May 2025 15:40:35 -0700 Subject: [PATCH 2/2] mention seed package installation --- .../deploy-and-host/sandbox-environments/seed/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/[platform]/deploy-and-host/sandbox-environments/seed/index.mdx b/src/pages/[platform]/deploy-and-host/sandbox-environments/seed/index.mdx index dd86fbb7e48..07240beb59e 100644 --- a/src/pages/[platform]/deploy-and-host/sandbox-environments/seed/index.mdx +++ b/src/pages/[platform]/deploy-and-host/sandbox-environments/seed/index.mdx @@ -36,7 +36,7 @@ The Sandbox Seed feature allows you to populate your Amplify sandbox environment To get started, install the `@aws-amplify/seed` package. -```bash title="Terminal" +```bash title="Terminal" showLineNumbers={false} npm install @aws-amplify/seed --save-dev ```