Quick Start
Note
Currently, using the OSTIS Metasystem natively on Windows isn't supported.
-
Clone repository of the OSTIS Metasystem:
git clone https://github.com/NikitaZotov/ostis-metasystem
cd ostis-metasystem
git checkout feat/update_build_system
git submodule update --init --recursive
-
Install C++ problem solver:
./scripts/install_cxx_problem_solver.sh
-
Build knowledge base:
./install/sc-machine/bin/sc-builder -i repo.path -o kb.bin --clear
-
Run C++ problem solver:
./install/sc-machine/bin/sc-machine -s kb.bin -c ostis-metasystem.ini \
-e "install/sc-machine/lib/extensions;install/sc-component-manager/lib/extensions;install/scp-machine/lib/extensions;install/problem-solver/lib/extensions"
-
Download component specifications from repositories. Execute the following command in a running terminal:
-
Install sc-web component. Execute the following command in the running terminal:
components install sc_web
-
Build sc-web. Open new terminal and run:
cd platform-dependent-components/interface/install/sc-web
git checkout feature/add_scg_iframe
npm run build
-
Run sc-web:
source .venv/bin/activate && python3 server/app.py --allowed_origins=http://localhost:3000
-
Install Python problem solver dependencies. Open new terminal and run:
python3 -m venv platform-dependent-components/problem-solver/py/.venv
source platform-dependent-components/problem-solver/py/.venv/bin/activate
pip3 install -r platform-dependent-components/problem-solver/py/requirements.txt
-
Run Python problem-solver:
python3 platform-dependent-components/problem-solver/py/server.py
-
Install and build react interface. Open new terminal and run:
cd platform-dependent-components/interface/react-sc-web
npm install
npm run build
-
Run react interface: