summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2019-10-31 21:31:59 +0200
committerYuval Adam <_@yuv.al>2019-10-31 21:31:59 +0200
commite93a18605076f2c696ee663d6f6b31fbd5023e6c (patch)
tree03979ef8bd4f43086c287a0ed89398a72e3233b9 /README.md
parent5f06c47fdbae41ff40657e1d4da7253aea547a41 (diff)
Update README with netlify deployment
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 6 insertions, 17 deletions
diff --git a/README.md b/README.md
index f324306..b70ac19 100644
--- a/README.md
+++ b/README.md
@@ -6,17 +6,16 @@ An interactive rain radar clone running on Mapbox GL, see it live at: [https://g
The entire service is served off of static assets located in S3 buckets:
- - A static main index page, React-based JS bundle and other static assets that are uploaded upon deploy
- - Radar images that are collected and indexed every minute by a Python recurring task running on AWS Lambda
+- A static main index page, React-based JS bundle and other static assets that are uploaded upon deploy
+- Radar images that are collected and indexed every minute by a Python recurring task running on AWS Lambda
For some architectural notes on the deployment process go read https://yuv.al/blog/an-architecture-for-periodically-updating-static-websites/
## Prerequisites
- - Node.js
- - Yarn
- - Serverless, for deploying the AWS Lambda task
- - AWS CLI, for static asset deployment to S3
+- Node.js
+- Yarn
+- Serverless, for deploying the AWS Lambda task
## Dev
@@ -29,17 +28,7 @@ $ yarn start
### Deploy
-Build the JS bundle:
-
-```bash
-$ yarn build
-```
-
-Deploy new static assets to S3:
-
-```bash
-$ yarn run deploystatic
-```
+Deployment is handled transparently via Netlify.
### Cron Task