lepaya-msteams v0.1.1
Lepaya MS Teams CLI tool
Installation
Run npm install -g lepaya-msteams.
After the package has been installed you will be able to use lmt command on your terminal. To verify installation please run lmt --version
Configuration
Run lmt init and set your credentials up.
You will be asked for
API project absolute path: The absolute path of API project on your local
Learn project absolute path: The absolute path of Learn project on your local
Tunnelto Access Token: Provided Tunnelto Access Token. Can be found in BitWarden
MS Teams app credentials.: MS Teams app and bot credentials. Can be found on MS Teams app screen.
Running the tool
Run lmt start. This command will run tunnels, API, Learn project together with default values. To see default values run lmt start --help
Possible parameters to provide
--employee-email or --ee: If set the command will seed database with provided email
--microsoft-teams-bot-id or --mtbi: If set the command will use provided MS Teams Bot ID
--microsoft-teams-app-id or --mtai: If set the command will use provided MS Teams App ID
--microsoft-teams-app-password or --mtap: If set the command will use provided MS Teams App Password
--api-subdomain or --as: If set the command will start API server with provided subdomain on Tunnelto
--web-subdomain or --ws: If set the command will start Learn server with provided subdomain on Tunnelto
--api-port or --ap: If set the command will use provided local port for API project to publish on Tunnelto
--web-port or --wp: If set the command will use provided local port for Learn project to publish on Tunnelto
While the command is running on terminal you can restart services;
If you press a It will restart API project
If you press l It will restart Learn project
If you press t It will restart all tunnels
And If you press ctrl+c The main process and all the child processes will stop.
Info
Available subdomains are;
lepaya-api-dev, lepaya-learn-dev
lepaya-api-research, lepaya-learn-research
lepaya-api-test, lepaya-learn-test
lepaya-api-test-2, lepaya-learn-test-2