Last active
February 14, 2019 20:06
-
-
Save nknapp/02420131c1693db581788db18d925784 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Some more dependencies | |
git clone [email protected]:bootprint/customize.git | |
git clone [email protected]:bootprint/customize-engine-handlebars.git | |
git clone [email protected]:bootprint/customize-engine-less.git | |
git clone [email protected]:bootprint/customize-write-files.git | |
git clone [email protected]:bootprint/bootprint.git | |
# Clone the repos | |
git clone [email protected]:bootprint/bootprint-openapi.git | |
git clone [email protected]:bootprint/bootprint-json-schema.git | |
git clone [email protected]: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