/runloop

Primary LanguageTypeScriptMIT LicenseMIT

runloop

Workflows

Development

brew install mkcert
mkcert -install
mkcert localhost
npm install
npm start

Visit https://localhost:3000.

Production

TBD.

Config

PORT

Optional. The port which the HTTP server will run on. Defaults to 3000.

ENV

Optional. Defaults to development.

MAPBOX_TOKEN

Required. Generate a personal access token over at Mapbox. Used for rendering inline maps and using the API.

INLINE

Defaults to false. If truthy, we'll inline the CSS and JS bundles in the index.html. Only used in npm run build.

USE_TLS

Optional. A truthy value will start a local HTTPS server. Useful for dev, as the Geolocation API won't work in insecure contexts, which is totally :eyeroll: