Monorepo Setup
Local Setup
-
Clone the project:
-
Install the project:
-
Build any of the demos after making changes to
packages/astro-aws-amplify
: -
To run a demo locally:
Amplify Hosting Deployment
-
Connect the monorepo repository.
-
Tick “Connecting a monorepo? Pick a folder.” and enter the path to the demo you want to deploy:
-
If you want to deploy another demo, change it in
amplify.yml
- you can’t override this file’s settings in the Amplify Hosting panel. -
Set an environment variable to use Node.js 18:
Build specification example: