Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 519 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 519 Bytes

lein-httpd

A Leiningen plugin to start a web server in the current directory. Use it for HTML/CSS/JS prototyping, for transferring files to another machine, etc.

Usage

Add [lein-httpd "1.0.0"] into your global Leiningen config (~/.lein/profiles.clj) like so:

{:user {:plugins [[lein-httpd "1.0.0"]]}}

Start a web server in the current directory on the default port (8080):

$ lein httpd

Select a different port by supplying the port number on the command line:

$ lein httpd 8027