You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/[platform]/deploy-and-host/sandbox-environments/seed/index.mdx
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,13 @@ The Sandbox Seed feature allows you to populate your Amplify sandbox environment
34
34
35
35
## Setting Up Your Seed Script
36
36
37
-
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.
37
+
To get started, install the `@aws-amplify/seed` package.
38
+
39
+
```bash title="Terminal" showLineNumbers={false}
40
+
npm install @aws-amplify/seed --save-dev
41
+
```
42
+
43
+
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.
38
44
39
45
1. Create a folder named `seed` under your `amplify` directory
40
46
2. Create a file named `seed.ts` inside the `seed` folder
0 commit comments