Leiningen plugin to start a web server in the current directory.
Clojure
Switch branches/tags
Nothing to show
Latest commit 92432d4 Mar 6, 2013 @malyn Initial commit.
Permalink
Failed to load latest commit information.
spec/leiningen/spec Initial commit. Mar 6, 2013
src/leiningen Initial commit. Mar 6, 2013
.gitignore Initial commit. Mar 6, 2013
LICENSE Initial commit. Mar 6, 2013
README.md Initial commit. Mar 6, 2013
project.clj Initial commit. Mar 6, 2013

README.md

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