Skip to content

mracos/mix_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mix_server

A simple mix task to start a (simple) http server on the current dir

Travis (.org)

The simplicity of python -m http.server with the power of Elixir/Erlang.

Install

You can install with

  • mix archive.install hex mix_server

Or if you want the latest master

  • mix archive.install github mracos/mix_server master

Usage

You can start the server on the current directory with:

  • mix server

By default, it starts a server on localhost at the 4000 port

With the document_root being the current dir ($PWD)

You can also pass the optinoal parameters of host and port

  • mix server --port 1234 --host 0.0.0.0

That's it, really, nothing more.

🦆

About

A simple mix task to start a (simple) http server on the current dir

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages