Skip to content

Instantly share code, notes, and snippets.

@nknapp
Last active February 14, 2019 20:06
Show Gist options
  • Save nknapp/02420131c1693db581788db18d925784 to your computer and use it in GitHub Desktop.
Save nknapp/02420131c1693db581788db18d925784 to your computer and use it in GitHub Desktop.
# Some more dependencies
git clone git@github.com:bootprint/customize.git
git clone git@github.com:bootprint/customize-engine-handlebars.git
git clone git@github.com:bootprint/customize-engine-less.git
git clone git@github.com:bootprint/customize-write-files.git
git clone git@github.com:bootprint/bootprint.git
# Clone the repos
git clone git@github.com:bootprint/bootprint-openapi.git
git clone git@github.com:bootprint/bootprint-json-schema.git
git clone git@github.com:bootprint/bootprint-base.git
# Setup links between repos
( cd bootprint-base && git checkout next && npm install && npm link )
( cd bootprint-json-schema && git checkout next && npm install && npm link bootprint-base && npm link )
( cd bootprint-openapi && git checkout next && npm install && npm link bootprint-json-schema)
# Install bootprint
npm install -g bootprint
# Create swagger.yaml
curl -o swagger.yaml https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v2.0/yaml/petstore.yaml
# Run bootprint in dev-mode with bootprint-openapi
bootprint -d ./bootprint-openapi target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment