strap

Bootstrap script for provisioning developer machines.
Development
To build and run the app in production:
To run an HTTPS proxy in front of the app:
To run tests once:
To run tests and re-run on changes:
To lint:
To build:
Usage
To run the web application locally run:
git clone https://github.com/6RiverSystems/strap-core
cd strap-core
npm install
GITHUB_KEY="..." GITHUB_SECRET="..." npm start
Web Application Environment Variables
Required
GITHUB_KEY: GitHub application client ID
GITHUB_SECRET: GitHub application client secret
ARTIFACTORY_TOKEN: API key of an Artifactory administrator account
ARTIFACTORY_URL: base URL of the hosted Artifactory instance, i.e. https://foo.jfrog.io/foo/ (include trailing slash)
Optional
PORT: the port to run the application on, defaults to 5000
SESSION_SECRET: secret token to use for sessions, defaults to a randomly generated token
LOG_LEVEL: trace, debug, info, warn, fatal, or silent, defaults to info
Resources