Socket
Book a DemoInstallSign in
Socket

@6river/strap-core

Package Overview
Dependencies
Maintainers
5
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@6river/strap-core

Bootstrap a developer machine.

latest
Source
npmnpm
Version
1.0.3
Version published
Weekly downloads
23
91.67%
Maintainers
5
Weekly downloads
 
Created
Source

strap

codecov CircleCI

Bootstrap script for provisioning developer machines.

Development

  • npm install
  • npm start
  • http://localhost:5000

To build and run the app in production:

To run an HTTPS proxy in front of the app:

To run tests once:

  • npm run test:single

To run tests and re-run on changes:

  • npm test

To lint:

  • npm run lint

To build:

  • npm run build

Usage

To run the web application locally run:

git clone https://github.com/6RiverSystems/strap-core
cd strap-core
npm install
# Setup config.json5
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

FAQs

Package last updated on 26 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts