https://github.com/johanbrook/runloop
https://github.com/johanbrook/runloop
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/johanbrook/runloop
- Owner: johanbrook
- License: mit
- Created: 2021-11-23T20:49:13.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-14T21:07:04.000Z (over 4 years ago)
- Last Synced: 2025-01-21T22:42:48.554Z (over 1 year ago)
- Language: TypeScript
- Size: 79.1 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# runloop
## Workflows
### Development
```bash
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](http://mapbox.com). 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: