Knowledge Base UI generation for OSTIS technology
This version allows communication with the knowledge base via JSON-based Websocket protocol.
New version of web interface implements to show usage of sc-server (runner of two-side JSON protocol).? The new version of web interface communicates with sc-server using two-way JSON protocol.
You can still use sctp protocol with this version of web interface as well.
Linux:
git clone https://github.com/ostis-apps/ostis-example-app.git
git checkout 0.6.0
cd {project-name}/scripts
./install_ostis.sh
Linux:
cd {project-name}/ostis-web-platform/scripts
./build_kb.sh
There are 2 possible options to run:
Run on Linux:
cd {project-name}/ostis-web-platform/scripts
./run_sc_server.sh
Then open localhost:8090 in your browser Current interface version allows creating nodes with system identifiers and searching for the main identifier by the provided system identifier.
Please note that JSON Websocket protocol will be available as well after start. Run on Linux:
#Terminal 1
cd {project-name}/ostis-web-platform/scripts
./run_sctp.sh
#Terminal 2
cd {project-name}/ostis-web-platform/scripts
./run_scweb.sh
Then open localhost:8000 in your browser.
You can open localhost:8090 in your browser as well to see the new web interface version.
The place for the knowledge base of your app. Put your .scs files here.
The place for the problem solver of your app. Put your agents here.
Use scp_stable branch for the development of agents on SCP.
Use 0.5.0 or 0.6.0 branch for the development of agents on C++.
Use 0.6.0 branch for the development of agents on Python.
Some tips:
- Store your modules with C++ agents in problem-solver/cxx;
- After updating your C++ code you need to rebuild problem-solver. Just run:
cd {project-name}/scripts
./build_problem_solver.sh
- To enable debug:
- add SET(CMAKE_BUILD_TYPE Debug) line to {project-name}/CMakeLists.txt file;
- rebuild problem-solver.
- You can see an example module with a C++ agent here.
Some tips:
- Store your modules with Python agents in problem-solver/py;
- After updating your Python code you don't need to rebuild problem-solver;
- You can see example modules using Python here.
The place for your interface modules.
To learn more about creating web components for the new web interface version please follow this link
The place for your extensions using IMS interface(sc-web) standard.
Your extensions are not applied to sc-web automatically for now, but you can do it by hand.