Skip to content

A device lab manager to automatically install apps on all your devices

License

Notifications You must be signed in to change notification settings

bamlab/devicelab-bot

Repository files navigation

App installer bot Build Status semantic-release

Installation

./install/install.sh

Usage

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.

Using PM2

HOCKEY_API_TOKEN==<token> pm2 start src/server --interpreter ./node_modules/.bin/babel-node

Serving the bot with Ngrok

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.

API Usage

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

API clients available

Using the CLI

npm i -g devicelab-bot
HOCKEY_API_TOKEN==<token> devicelab-bot install <appName>
HOCKEY_API_TOKEN==<token> devicelab-bot --help

Development

Commiting with Commitizen

yarn commit

Testing

yarn test

Building the CLI tools

yarn build:cli-tools

About

A device lab manager to automatically install apps on all your devices

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages