From e93a18605076f2c696ee663d6f6b31fbd5023e6c Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Thu, 31 Oct 2019 21:31:59 +0200 Subject: Update README with netlify deployment --- README.md | 23 ++++++----------------- 1 file 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 -- cgit v1.3.1