Corlink Server CLI

This is the documentation for the Corlink API Server's CLI commands and options.

Prerequisites

  • A working Corlink API Server instance. (You can find the documentation here)

Commands

Start

This command is used to start the Corlink API Server.

Usage

corlink-server start

Options

FlagShort FlagDescriptionDefaultUsageShort Usage
--port-pThe port the server should run on.8080--port 8080-p 8080
--host-HThe host the server should run on.0.0.0.0--host localhost-H localhost
--sqlite-sUse SQLite instead of PostgreSQL.false--sqlite-s
--directory-dListen on a subdirectory./--directory /corlink-d /corlink

Example

corlink-server start -p 8080 -H localhost -s

This will start the Corlink API Server on port 8080 and host localhost using SQLite instead of PostgreSQL.