Clone repository:
git clone https://github.com/semantic-pie/lightest-ostis-pancakeTo install the necessary components (sc-web, sc-machine, kb), run the following command:
./pancake.sh installThis will clone (or pull updates) the necessary components (sc-web, sc-machine) and clone all specified knowledge bases.
To add a knowledge base from a local directory, run the following command:
./pancake.sh add repo_nameReplace repo_name with the name of your local knowledge base directory. (in root dir)
To add a knowledge base from a remote git repository, run the following command:
./pancake.sh add -u github_username/repo_nameReplace github_username/repo_name with the GitHub username and repository name of the knowledge base.
You can use the following:
./pancake.sh add -u <repo_url>:<repo_name> Replace <repo_url> with the URL of the git repository and <repo_name> with the desired name for the repository. If <repo_name> is not provided, it will default to the repository's base name.
To run ostis, use following command:
./pancake.sh runRun in the background:
./pancake.sh run -dStop:
./pancake.sh stopYou can also:
./pancake.sh restartTo unplug a knowledge base, use following command:
./pancake.sh unplug knowledge_base_nameReplace knowledge_base_name with the name of the knowledge base you want to unplug.
To remove all installed knowledge base folders, execute the following command:
./pancake.sh clean(it doesn't remove git repos urls from config)
To display information about the knowledge bases in use, run the following command:
./pancake.sh infoThis will show the list of local knowledge bases and synchronized git repositories.
To display the usage information and available options, run the following command:
./pancake.sh --help