Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.
/ ordinem Public archive

📂 A media library server and browser

License

Notifications You must be signed in to change notification settings

ffflorian/ordinem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ordinem Build Status npm version Dependabot Status

📂 A media library server and browser.

Installation

Run yarn global add ordinem or npm i -g ordinem.

Usage

Configuration file

To use a configuration file, add a configuration file following the cosmiconfig standard (e.g. .ordinemrc.json) to your project and the ordinem CLI will find it automatically. Options from the CLI still take precedence over the configuration file.

The structure of the configuration file is the following:

{
  /** set the server port */
  dir?: string;

  /** set the directory to serve */
  port?: number;
}

CLI

Usage: ordinem [options]

A media library server and browser.

Options:
  --noconfig         don't look for a configuration file
  -p, --port <port>  set the server port (default: 8000)
  -d, --dir <dir>    set the directory to serve (default: ".")
  -v, --version      output the version number
  -h, --help         output usage information