Liking cljdoc? Tell your friends :D
Clojure only.

file-server.server


-mainclj

(-main & args)
source

startclj

(start)
(start port)
(start port serving-dir)

Takes first argument port to start the server on And a second argument serving-dir which is the directory while will be served If port is not specified, it will start the server on a random free port using file-server.utils.io/get-free-port If serving-dir is not specified, it will start serving the current directory NOTE: Both the arguments are optional

Takes first argument `port` to start the server on
And a second argument `serving-dir` which is the directory while will be served
If `port` is not specified, it will start the server on a random free port using `file-server.utils.io/get-free-port`
If `serving-dir` is not specified, it will start serving the current directory
NOTE: Both the arguments are optional
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close