- Create a new AWS EB NodeJS application with AWS sample code.
- Privately clone this repo, and update .env locally. Do not commit changes to .env, as this will expose your Parse Server. The .env file should never be uploaded, and is here for demonstration purposes.
- Create AWS access keys, and set them as GitHub secrets (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY) via settings -> Secrets -> New Repository Secrets.
- Update CI.yml to correctly point to your application_name, environment_name, and region. DO NOT set your AWS Access Keys here, as this could expose your instance.
- Now, any changes to your master branch, should run through
npm lint
, thennpm test
, before zipping up and deploying to AWS EB.
USE AT YOUR OWN RISK