Librarian is the standard server implementation of TuiHub.
It is recommended to use with the standard client implementation Waiter. Check document site for user guide.
Build the server with make
,
or download the binary file in releases page.
Config file is required. The config template is provided in configs
config
path, eg: --conf config.yamldata
path, eg: --data /opt/librarian/data
LOG_LEVEL
, acceptdebug
,info
,warn
,error
DEMO_MODE
, accepttrue
,false
, server will reject any changes on admin user when demo mode is enabledCREATE_ADMIN_USER
, accept a stringCREATE_ADMIN_PASS
, accept a string, server will create the given admin user on startup
- Install Go
- (Optional) Install Docker and Docker Compose
- (Optional) Deploy dependencies with tests/docker-compose.yml
- Create the config file at configs/config.yaml with templates.
- Run
make run
to start the server