https://github.com/mumez/scallion-wiki-api
Wiki API server built on top of GemStone/S
https://github.com/mumez/scallion-wiki-api
gemstone smalltalk wiki
Last synced: 3 months ago
JSON representation
Wiki API server built on top of GemStone/S
- Host: GitHub
- URL: https://github.com/mumez/scallion-wiki-api
- Owner: mumez
- License: mit
- Created: 2023-02-14T15:08:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-11T08:26:52.000Z (almost 3 years ago)
- Last Synced: 2025-01-16T05:54:52.026Z (over 1 year ago)
- Topics: gemstone, smalltalk, wiki
- Language: Smalltalk
- Homepage: https://scallion-svelte.vercel.app/
- Size: 137 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# scallion-wiki-api
Wiki API server built on top of GemStone/S.
## Installation
First, you should install [gsApplicationTools](https://github.com/GsDevKit/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.
```smalltalk
ZnNewGemServer register: 'zinc' on: #(9089 9088 9087 9086).
(GemServer gemServerNamed: 'zinc') delegate: ScWikiApi new.
```
Now you can start wiki server
```smalltalk
(GemServer gemServerNamed: 'zinc') restartGems.
```
## API
Draft API document is [here](https://softumeya-llc.stoplight.io/docs/scallion-wiki-api/branches/main/3tx0q260z82ve-scallion-wiki-api)
### Search API
If you would like to use the search API, please set up [Meilisearch.st](https://github.com/mumez/Meilisearch.st) as well.
You can disable the feature by evaluating:
```smalltalk
ScSettings default useSearchEngine: false.
```
## Demo
Example frontend: [scallion-svelte](https://github.com/mumez/scallion-svelte) is running [here](https://scallion-svelte.vercel.app/)