botbook/book/chapter-01-Index.md
2019-03-01 15:34:29 -03:00

2.3 KiB

General Bots Book

Package Quick Reference

Whatsapp Web Core KB
whatsapp.gblib default.gbui core.gbapp kb.gbapp

The bot development stack

General Bot Logo

The Bot Factory

General Bots Block Architecture

GeneralBots aims to delivery bots in azure in a very easy and fast fashion. Use Office tools like Word or Excel to edit your Bot - using code (JavaScript or TypeScript) just to empower custom requirements.

How To

Run the server locally

  1. Install Node.js the current generation General Bot code execution platform;
  2. Open a Terminal on Linux and Mac or a Command Prompt window on Windows;
  3. Type npm install -g botserver and press ENTER;
  4. Type gbot to run the server core.

Notes:

Running unit tests

  1. Enter the BotServer root folder.
  2. Run tests by npm test.

Just copy the source code to your machine

  1. Download the Zip file.

Trainning Topics

  • Clone BotServer, BotLib repository
  • Keyboard centric
  • WIN: micro.exe
  • Launcher
  • dir/ls/ll, cd, mkdir, move
  • Npm run build
  • npm update -g
  • node -v
  • SHIFT+PAGE DOWN/UP on Terminal Window
  • ncu -a Update all packages in package.json
  • npm update -g All NPM package on the system
  • Introduction to General Bo
  • Environment setup and get the server runni
  • KB loading
  • NLP and toolin
  • Find a NPM package to create a .gbapp that asks for data and output the result
  • Visual Studio Code Insiders and plugins
  • Run Build Task tsc:watch