semantic-pie / lightest-ostis-pancake

The simplest way to run ostis

Home Page:http://ostis.semantic-pie.systems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lightest Ostis Pancake

Installation

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.


Adding a Local Knowledge Base

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)


Adding a Remote Knowledge Base

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.


Running OSTIS

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

Unplug Knowledge Base

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.


Cleaning Knowledge Bases

To remove all installed knowledge base folders, execute the following command:

./pancake.sh clean

(it doesn't remove git repos urls from config)


Displaying Knowledge Bases

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.


Help

To display the usage information and available options, run the following command:

./pancake.sh --help

About

The simplest way to run ostis

http://ostis.semantic-pie.systems

License:MIT License


Languages

Language:Shell 100.0%