Clone repository:
git clone https://github.com/semantic-pie/lightest-ostis-pancake
To install the necessary components (sc-web, sc-machine, kb), run the following command:
./pancake.sh install
This 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_name
Replace 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_name
Replace 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 run
Run in the background:
./pancake.sh run -d
Stop:
./pancake.sh stop
You can also:
./pancake.sh restart
To unplug a knowledge base, use following command:
./pancake.sh unplug knowledge_base_name
Replace 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 info
This 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