Getting Started

This section explains how to install Kogno and create a new project.

Installation

Kogno requires Ruby version 2.7.0 or later.

gem install kogno

Alternatively for quick installation

gem install --no-document kogno

Create a new project

kogno new your_chatbot

If everything is ok you should see this output:

A new project has been created at ./your_chatbot
Next steps:
  - cd ./your_chatbot/
  - bundle install
  - Configure your database -> config/database.yml
  - run kogno install

A new project directory tree

Installing dependencies

Configure the database

Open the file config/database.yml and configure your database.

Create framework's tables in database

If the database is correctly configured you will see this output:

Testing in console

The console command lets you interact with your Kogno application from the command line.

To initialize it:

Once the console has been opened, any class, instance or function declared in the project can be called.

Last updated

Was this helpful?