Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 690 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 690 Bytes

Manger

A tool spawning ad-hoc HTTP server. Written in Elixir, using Plug and Cowboy.

Installation

  1. Run mix escript.install github bblaszkow06/manger
  2. Ensure $MIX_HOME/escripts is added to your PATH environment variable (see mix escript.install docs) and restart your shell

Usage

Run manger and visit http://locahost:8000. You should see the contents of the current directory. Optionally, you can pass the following arguments:

  • -p PORT_NUMBER - port number used by the HTTP server, defaults to 8000
  • -d DIRECTORY - directory from which the files will be served, defaults to current directory