Skip to content

chevalvert/wipmap

Repository files navigation

wipmap


Installation

$ git clone https://github.com/chevalvert/wipmap
$ cd wipmap
$ yarn install

Usage

wipmap

Usage:
  wipmap --open --live
  wipmap -of --log=<PATH> --data=<PATH> --config=<PATH>
  wipmap -l --data=<PATH> --config=<PATH> --landmark-packs=<PATH>
  wipmap --plotter
  wipmap --help
  wipmap --version

Flags:
  -l, --live              Enable hot reloading of config file.
  -o, --open              Open browser.
  -f, --fullscreen        Open browser in kiosk mode.
  --plotter               Run the server in plotter mode.
  -h, --help              Show this screen.
  -v, --version           Print the current version.
  --no-default-pack       Run wipmap without loading default landmarks.

Options:
  -c, --config            Run the server with specified config file.
  -d, --data=<PATH>       Specify data/ export directory.
  -p, --port=<PORT>       Run server on custom port (default is 8888).
  --landmark-packs=<PATH> Run the server with external landmarks packs.
  --log=<PATH>            Pipe stdout to the specified log file.
  --log-level=<LEVEL>     Set the log level (default is 'info').

Log level:
  0, emergency            System is unusable.
  1, alert                Action must be taken immediately.
  2, critical             The system is in critical condition.
  3, error                Error condition.
  4, warning              Warning condition.
  5, notice               A normal but significant condition.
  6, info                 A purely informational message.
  7, debug                Messages to debug an application.

Configuration

See docs/configuration.md

For more details about map generation and configuration, see wipmap-generate.

External landmark packs

See docs/landmark-packs.md.

Multilang

See src/loc.js

Note that you'll need to rebuild src/ to build/ using yarn build or npm run build.

License

MIT.