Skip to content

Quick Start

Note

Currently, using NIKA natively on Windows isn't supported.

  1. Clone repository of the NIKA:

    git clone https://github.com/ostis-apps/nika
    cd nika
    git submodule update --init --recursive
    
  2. Install C++ problem solver:

    ./scripts/install_cxx_problem_solver.sh
    
  3. Build knowledge base:

    ./scripts/start.sh build_kb
    
  4. Run C++ problem solver:

    ./scripts/start.sh machine
    
  5. Install and build sc-web. Open new terminal and run:

    cd sc-web
    ./scripts/install_dependencies.sh
    npm run build
    cd ..
    
  6. Run sc-web:

    ./scripts/start.sh web
    
  7. 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
    
  8. Run Python problem-solver:

    ./scripts/start.sh py_server
    
  9. Install and build React interface. Open new terminal and run:

    cd interface
    npm install
    npm run build
    
  10. Run React interface:

    ./scripts/start.sh interface