Template project to facilitate implementing, compiling, and building Botica bots using npm and botica-lib-node.
-
Modify the
package.json
file, specifically:- The
name
andauthor
properties. - The
imageTag
property. The build script will take the tag for the resulting Docker image from this property.
- The
-
Implement your bot's logic. You can follow one of these examples.
Note
Full project examples are also available, with their respective Node implementations using TypeScript. Check out botica-infrastructure-fishbowl.
- Run the build script. This script builds the Docker image for you based on the
imageTag
property in yourpackage.json
.- For Linux or macOS systems, run
./build.sh
in your IDE's terminal. - For Windows systems, run
build.bat
in your IDE's terminal.
- For Linux or macOS systems, run