Skip to content

Latest commit

 

History

History
74 lines (47 loc) · 1.25 KB

README.md

File metadata and controls

74 lines (47 loc) · 1.25 KB

JarHC Online

JAR Health Check online service.

Serverless API

Build

sam validate
sam build

Run

sam local start-api --port 3001 --parameter-overrides "ApiDomain=localhost:3001 WebsiteDomain=localhost:3000 WebsiteURL=http://localhost:3000"

Deploy

sam deploy

React App

Build

npm run build

Run

To run during development:

npm start

To run the production build:

npm install -g serve
serve -s build

Deploy

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

Project information

Developers

Dependencies