Add log message for starting server
This commit is contained in:
parent
dbd6222251
commit
6754e05001
1 changed files with 7 additions and 5 deletions
|
@ -36,8 +36,10 @@
|
|||
(handler/site routes))))
|
||||
|
||||
(defn -main [& args]
|
||||
(db/connect-and-handle-events)
|
||||
(defonce stop-server (httpkit/run-server app {:port 3000}))
|
||||
(when (some #(= % "integration") args)
|
||||
(integration-test/run)
|
||||
(stop-server)))
|
||||
(let [port 3000]
|
||||
(println (str "Starting server on localhost:" port))
|
||||
(db/connect-and-handle-events)
|
||||
(defonce stop-server (httpkit/run-server app {:port port}))
|
||||
(when (some #(= % "integration") args)
|
||||
(integration-test/run)
|
||||
(stop-server))))
|
||||
|
|
Loading…
Reference in a new issue