fetch data from repo Johns Hopkins
- command to build
npm run start
-
dist
- contain two files
- china-coronavirus-timeseries
- latest-coronavirus-stats
- contain two files
-
log
- log
- error.json
- history.json
- log
-
prerequisite
- aws instance
- gtihub repo
-
steps
- install AWS CLI on local machine (my mac book pro)
- install CodeDeploy agent on ec2 instance
- create service role
-
refs
-
CI/CD - Encrypt/Decrypt secret Key
- node/npm path in crontab