/ostis-example-app

Initial project for application on OSTIS

Primary LanguageC++MIT LicenseMIT

Installation

Linux:

git clone https://github.com/ostis-apps/ostis-example-app.git
cd {project-name}/scripts
./install_ostis.sh

Build knowledge base

Linux:

cd {project-name}/ostis/scripts
./build_kb.sh

Run

Run on Linux:

#Terminal 1
cd {project-name}/ostis/scripts
./run_sctp.sh

#Terminal 2
cd {project-name}/ostis/scripts
./run_scweb.sh

Then open localhost:8000 in your browser

Project Structure

kb

Place for knowledge base of your app. Put your .scs and .gwf files here.

problem-solver

Place for problem solver of your app. Put your agents here.

Use scp_stable branch for development of agents on SCP.
Use 0.5.0 or 0.6.0 branch for development of agents on C++.

Agents on C++

Some tips:

  • Store your modules with c++ agents in problem-solver/cxx;
  • After update c++ code you need to rebuild sc-machine. Just run:
cd {project-name}/ostis/sc-machine/scripts
./make_all.sh
  • For enable debug:
    • add SET(CMAKE_BUILD_TYPE Debug) line to {project-name}/ostis/sc-machine/CMakeLists.txt file;
    • rebuild sc-machine.
  • Look example module with C++ agent here.

interface

Place for your interface modules.

sc-web-extensions

Place for your extensions of standard IMS interface(sc-web).

We don't have automatically applying of your extensions to sc-web now. Do it by hand.