Install

npx degit newbotjs/template my-chatbot
cd my-chatbot
npm install
npm run dev

Go to the browser on http://localhost:3000 (or another port if you have change the port)

Change Port with `PORT` environment variable: PORT=3500 npm run dev

Syntax color in VS Code

To have the syntax color in the conversational script, add an extension in VS Code:

  1. Look for the extension named ConverseScript in Visual Studio Code

  2. Click on Install

Last updated