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 kognoAlternatively for quick installation
gem install --no-document kognoCreate a new project
kogno new your_chatbotIf 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 installA new project directory tree
Installing dependencies
The MySQL development libraries must be previously installed before running the following command.
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?