Quick Start
Note
Currently, using NIKA natively on Windows isn't supported.
-
Clone repository of the NIKA:
git clone https://github.com/NikitaZotov/nika
cd nika
git checkout feat/migrate_to_0.10.0
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 nika.ini \
-e "install/sc-machine/lib/extensions;install/scl-machine/lib/extensions;install/problem-solver/lib/extensions"
-
Install and build sc-web. Open new terminal and run:
cd sc-web
./scripts/install_dependencies.sh
npm run build
-
Run sc-web:
source .venv/bin/activate && python3 server/app.py
-
Install Python problem solver dependencies. Open new terminal and run in the root of the project:
python3 -m venv problem-solver/py/.venv
source problem-solver/py/.venv/bin/activate
pip3 install -r problem-solver/py/requirements.txt
-
Run Python problem-solver:
python3 problem-solver/py/server.py
-
Install and build React interface. Open new terminal and run:
cd interface
npm install
npm run build
-
Run React interface: