-
Notifications
You must be signed in to change notification settings - Fork 5
Development
esp edited this page Jul 2, 2018
·
6 revisions
- Auto-formatters and Linters
- Documentation Generation
- Install Homebrew
- Homebrew installation documentation
- Command(s)
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Update Homebrew
- Command(s)
brew update
- Command(s)
- Install node
- Command(s)
brew install node
- Command(s)
- Install yarn
- Yarn installation documentation
- Command(s)
brew install yarn
- Install Docker
- Docker for Mac installation documentation
- Command(s)
- See 'Docker for Mac installation documentation'
- Install Codeship's JET CLI
- Codeship JET CLI installation documentation
- Command(s)
brew cask install codeship/taps/jet
- Install JavaScript dependencies
- Command(s)
- From the root of the repository
yarn
- Command(s)
The SDK team has decided to use stubby as a functional testing resource in lieu of making redundant unit tests.
To create a local stubby environment for testing
-
yarn start:stubserver
- This spins up a local stubby server
-
yarn test
- This will run the tests
-
yarn stop:stubserver
- This will terminate the stubby server
- Go to
https://app.codeship.com/projects/283657/configure
- Download AES key from the codeship project
- Save it as
codeship.aes
- Save it as
- Place the AES key in the root directory
- From the root directory enter
jet steps
Enter the command yarn apidocs
to automatically generate the documentation.