Previous: Contribution guidelines | Next: Releasing a new collection
This project has a few prerequisites.
Gitto download the source code- When using Docker
- A local installation of Docker. I'd recommend the Docker Desktop on Mac.
- Visual Studio Code
- The Remote Development Pack for VS Code which allows for development in a containerized Node environment.
- When not using Docker
To setup this project, download the source code and install all the dependencies.
git clone git@github.com:box/box-postman.git box-postman
cd box-postmanNext, copy the .env.example file to create your own environment settings.
cp .env.example .envThis .env is mostly ready to go, all that it needs is the API key for the
Postman API.
To run with Node directly, make sure you have Node 14 or higher installed.
yarn install
yarn build:all
# or for each language
yarn build en
yarn build jpThis final yarn release:all command pulls in the English and Japanese OpenAPI
spec and builds a Postman Collection for both.
With the dependencies installed, it is possible to run tests for the OpenAPI to Postman converter as well as run some basic linters ofer the code.
yarn testIt is possible to build a Postman Collection without releasing it to the Postman API.
yarn build:all
# or for each language
yarn build en
yarn build jp