JAR Health Check online service.
sam validate
sam build
sam local start-api --port 3001 --parameter-overrides "ApiDomain=localhost:3001 WebsiteDomain=localhost:3000 WebsiteURL=http://localhost:3000"
sam deploy
npm run build
To run during development:
npm run dev
To run the production build:
npm run preview
Use aws s3 sycn
to copy the content of the dist/
folder into the S3 bucket online.jarhc.org
.
Use --delete
to delete files in S3 which do not exist locally.
Use --exclude reports/*
to avoid deleting generated JAPICC reports.
Use --dryrun
to display the operations that would be performed without actually running them.
aws s3 sync dist/. s3://online.jarhc.org --delete --exclude reports/* # --dryrun
- Stephan Markwalder - @smarkwal