create-websdk-bot

0.1.6 • Public • Published

Create Active.AI Bot

Create a bot with less build configuration.

Quick Overview

npx create-websdk-bot <bot-name>


For ex:

npx create-websdk-bot stella

(npx comes with npm 5.2+ and higher, see instructions for older npm versions)

Prerequistes

You need to install a build tool Grunt.

npm i grunt-cli -g

Creating a Bot

You’ll need to have Node 8.16.0 or Node 10.16.0 or later version on your local development machine (but it’s not required on the server). You can use nvm (macOS/Linux) or nvm-windows to easily switch Node versions between different projects.

To create a new bot:

npx

npx create-websdk-bot stella

(npx comes with npm 5.2+ and higher, see instructions for older npm versions)

npm

npm i create-websdk-bot -g

and then

create-websdk-bot <bot-name>

Once the above command is executed, a few series of questions are asked regarding the properties you want in the bot, based on your selection a bot will be created.

You'll be prompted two version for building the bot, deployments-<bot-name> & Maven and also you can build a development & production version of the bot.

If you've chose deployments-<bot-name>, you can serve the static folder deployments-<bot-name>/morfeuswebsdk folder into a server, then bot is served from the folder. If you've chosen Maven as an option, then a WAR file would be generated.

Features

  • Voice Support

Readme

Keywords

none

Package Sidebar

Install

npm i create-websdk-bot

Weekly Downloads

12

Version

0.1.6

License

Apache-2.0

Unpacked Size

22.2 kB

Total Files

6

Last publish

Collaborators

  • activeaiadmin