Skip to content

Instantly share code, notes, and snippets.

/*
Runtime Config
Create React App provides a mechanism for _build-time_ configuration,
via REACT_APP_ env vars.
In order to make a single build of the frontend portable across environments,
it's desirable to also be able to provide _run-time_ configuration.
@jrr
jrr / stopwatch.sh
Last active November 12, 2023 21:19
stopwatch.sh
#!/bin/sh
#
# Stopwatch
#
# Simple script to time how long things take. (useful for CI)
#
# Use it like this:
# > ./scripts/stopwatch.sh
# Started stopwatch..
@jrr
jrr / render-deployment.md
Last active March 2, 2023 20:11
Render deployment with multiple environments

This is an excerpt from my project's README.


Deployment

The app is deployed to Render.

Cloud resources are provisioned using a feature called Blueprints. Resources are