Skip to content

mumez/scallion-wiki-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

scallion-wiki-api

Wiki API server built on top of GemStone/S.

Installation

First, you should install gsApplicationTools.

Just install and load the latest ZincHTTPComponents from your tODE shell. This will also load gsApplicationTools.

> project install
 --url=http://gsdevkit.github.io/GsDevKit_home/ZincHTTPComponents.ston
> project load ZincHTTPComponents

Then, from the tODE shell:

> project entry --baseline=ScWikiApi --repo=github://mumez/scallion-wiki-api:main/repository /sys/local/server/projects
> project load ScWikiApi

After loading, please register ports and delegate from Workspace.

ZnNewGemServer register: 'zinc' on: #(9089 9088 9087 9086).
(GemServer gemServerNamed: 'zinc') delegate: ScWikiApi new.

Now you can start wiki server

(GemServer gemServerNamed: 'zinc') restartGems.

API

Draft API document is here

Search API

If you would like to use the search API, please set up Meilisearch.st as well.

You can disable the feature by evaluating:

ScSettings default useSearchEngine: false.

Demo

Example frontend: scallion-svelte is running here