A tool spawning ad-hoc HTTP server. Written in Elixir, using Plug and Cowboy.
- Run
mix escript.install github bblaszkow06/manger - Ensure
$MIX_HOME/escriptsis added to yourPATHenvironment variable (seemix escript.installdocs) 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