diff --git a/src/clj/grub/core.clj b/src/clj/grub/core.clj index 6b0b927..05ec523 100644 --- a/src/clj/grub/core.clj +++ b/src/clj/grub/core.clj @@ -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))))