./install/install.sh
Start your node server
HOCKEY_API_TOKEN==<token> npm start
You can now install your apps to your devicelab from http://localhost:3000.
An API documentation is available at http://localhost:3000/docs.
HOCKEY_API_TOKEN==<token> pm2 start src/server --interpreter ./node_modules/.bin/babel-node
Ngrok is packaged with this.
You can thus serve your devicelab bot to the world with:
./ngrok http localhost:3000
You can now access the devicelab bot anywhere with http://[ngrox id].ngrok.io
.
You can also install your app by calling /install?appName=<your-app-name>
.
This will return a build id
, that you can use to retrieve logs by calling /build/:buildId
npm i -g devicelab-bot
HOCKEY_API_TOKEN==<token> devicelab-bot install <appName>
HOCKEY_API_TOKEN==<token> devicelab-bot --help
yarn commit
yarn test
yarn build:cli-tools