Provides a simple, generic ring application server that can be started either via the static 'main' function (e.g. for running as a daemon) or via the 'start' function (e.g. for testing from the REPL).
Provides a simple, generic ring application server that can be started either via the static 'main' function (e.g. for running as a daemon) or via the 'start' function (e.g. for testing from the REPL).
(-main & _)
Function to start the web application as a daemon. The configuration of the server is taken from the environment. The environment must have NUVLA_SERVER_INIT defined. NUVLA_SERVER_PORT and NUVLA_SERVER_PORT may be defined.
Function to start the web application as a daemon. The configuration of the server is taken from the environment. The environment must have NUVLA_SERVER_INIT defined. NUVLA_SERVER_PORT and NUVLA_SERVER_PORT may be defined.
(start server-init & [port host])
Starts the application and application server. Return a 'stop' function that will shut down the application and server when called.
Starts the application and application server. Return a 'stop' function that will shut down the application and server when called.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close