This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@livechat/dev-cli

1.0.0-alpha.4 • Public • Published

LiveChat Developer Console CLI

This project unlocks LiveChat Developer Console capabilities in form of easy to use CLI application. Additionally it allows for quick application bootstrap and project scaffolding.

mit GitHub package.json version Check

📦 Installation

Use the npm or yarn package managers to install the dev-cli package in your project.

npm install -g @livechat/dev-cli
# or
yarn global add @livechat/dev-cli

🚀 Usage

LiveChat Developer Console CLI

lcdev [command]

Commands:
  lcdev init [dirName]  scafold new LiveChat app project from template
  lcdev login           login with your LiveChat account
  lcdev bootstrap       bootstrap new LiveChat app using config file
  lcdev create          create new LiveChat app
  lcdev widget          setup agent app widget
  lcdev auth            setup app authorization
  lcdev app-webhooks    setup app webhooks
  lcdev chat-webhooks   setup chat webhooks
  lcdev chat-actions    setup chat actions
  lcdev chat-boosters   setup chat boosters
  lcdev remove          remove app

Options:
  --help     Show help
  --version  Show version number

⚙️ Getting started

Below you'll find a step by step guide how to go from a brand new LiveChat Developer Program account to a fully working LiveChat application ready to be used on your LiveChat account.

Warning Before you start make sure to already have a LiveChat account (you can create one here). You will also need Ngrok together with its free account installed on your computer to obtain a temporary and secure public domain for your local application (follow these instructions).

  1. Install the LiveChat Developer Console CLI:
npm install -g @livechat/dev-cli
  1. Verify that you are using the latest version and can access the CLI:
lcdev --version
  1. Login to your LiveChat account inside the CLI:
lcdev login
  1. Initialize a new project from our official Nex.js app template:
lcdev init first-livechat-app
  1. Install project dependencies and start local dev server:
cd first-livechat-app
npm install
npm run dev
  1. Open the HTTP tunnel to obtain secure public domain for your local app:
ngrok http 3000
  1. Bootstrap your new LiveChat app by providing the newly established public domain:
lcdev bootstrap --baseURL <your-https-domain-from-ngrok>

🏗 Contributing

Read the Contributing Guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes.

This project has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.

📃 License

The code and documentation in this project are released under the MIT License.

Readme

Keywords

none

Package Sidebar

Install

npm i @livechat/dev-cli

Weekly Downloads

3

Version

1.0.0-alpha.4

License

none

Unpacked Size

100 kB

Total Files

4

Last publish

Collaborators

  • szotp_lc
  • mrateo
  • l.sajdak
  • otkach-text
  • mszpyruk
  • halinasyposz
  • mpasiewicz
  • tadekrzewuski
  • przemyslawrakowski
  • mwarcholinski
  • naszos
  • w.fabjanczuk
  • p.zawadzka
  • wojciechdudek
  • pastepi
  • artur-livechat
  • joanna.sikora
  • mborowskalivechat
  • kajahd
  • bstopyra
  • m.teczynski
  • jakubpyzio
  • rkawka
  • bolchowka
  • lukiq
  • f.jaskolski
  • msypko
  • bamboo-livechat
  • olek_livechat
  • s.graczyk.livechat
  • michalpaszczakowski
  • andarist
  • konradk
  • k.zajac
  • lkrolak
  • hstaniszewski
  • chatbot-com
  • jakubsikora
  • norbertprocak
  • walaszczykm
  • klarzynskik
  • ale-kacperczyk
  • sambor
  • macpankiewicz
  • mreszke
  • k-kozak
  • bbartek
  • mdebski
  • shwarcu
  • jfedyczak
  • paulinag
  • dzabrzenski
  • wouga
  • mzielonka
  • alithanar
  • msawickilc
  • jawinski
  • gh-actions-livechat
  • oliwiapolec
  • arturfracala
  • panr
  • vbezpalko