- Print
- DarkLight
- PDF
Omnichannel Environment Setup
- Print
- DarkLight
- PDF
This documentation will guide you through setting up your QuickMeet.Chat omnichannel development environment.
Prerequisites
Ensure you have the following installed on your device.
Set up Livechat
This Livechat platform is a minimal lightweight application developed with Preact. It is a critical feature of the QuickMeet.Chat omnichannel as it facilitates B2C (business-to-customer) communication between agents and website visitors.
This setup is done assuming you have a QuickMeet.Chat server running. We will use a local instance at
http://localhost:3000for this guide.
To set up the omnichannel Livechat,
Clone the Livechat source code from the GitHub repository by running this command:
git clone https://github.com/QuickMeet.Chat/QuickMeet.Chat.gitNavigate to the Livechat folder in the cloned directory.
cd QuickMeet.Chat cd packages/livechatInstall dependencies by running:
yarnYou can check the recommended version of node and yarn in the package.json file in the root directory.
Compile the Preact application to the
/buildfolder by running:yarn devIn another terminal, start the development server with hot reload capabilities on
http://localhost:8080:yarn startOpen the
widget-demo.htmlfile in your browser by accessinghttp://localhost:8080/widget-demo.html. You should see a page with the Livechat initiation icon at the bottom right..png?sv=2022-11-02&spr=https&st=2024-12-22T17%3A36%3A06Z&se=2024-12-22T17%3A46%3A06Z&sr=c&sp=r&sig=St3Q8Wmg5wi4OUqrE8%2BcJGetRiicmj4rdwwM29M9mOA%3D)
.png?sv=2022-11-02&spr=https&st=2024-12-22T17%3A36%3A06Z&se=2024-12-22T17%3A46%3A06Z&sr=c&sp=r&sig=St3Q8Wmg5wi4OUqrE8%2BcJGetRiicmj4rdwwM29M9mOA%3D)
For better performance, you can run this
widget-demo.htmlon an HTTP server.