A tool spawning ad-hoc HTTP server. Written in Elixir, using Plug and Cowboy.
- Run
mix escript.install github bblaszkow06/manger
- Ensure
$MIX_HOME/escripts
is added to yourPATH
environment variable (seemix escript.install
docs) and restart your shell
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 to8000
-d DIRECTORY
- directory from which the files will be served, defaults to current directory