Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 

Geshem 🌧️

An interactive rain radar clone running on Mapbox GL, see it live at: https://geshem.space

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

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

Dev

Install dependencies and run dev server:

$ npm install
$ npm start

Deploy

Deployment is handled transparently via Netlify.

Cron Task

Dev

$ cd cron
$ pipenv install

Deploy

$ npm run deploycron

Invoke

For testing the cron task:

$ npm run invokecron