This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-01
Channels
- # beginners (121)
- # boot (12)
- # cider (14)
- # clara (19)
- # cljsjs (1)
- # clojure (124)
- # clojure-italy (4)
- # clojure-nl (2)
- # clojure-russia (47)
- # clojure-spec (20)
- # clojure-uk (7)
- # clojurescript (102)
- # cursive (16)
- # datomic (10)
- # emacs (2)
- # events (2)
- # immutant (3)
- # luminus (5)
- # lumo (33)
- # off-topic (2)
- # om (5)
- # onyx (22)
- # parinfer (1)
- # pedestal (32)
- # protorepl (1)
- # re-frame (6)
- # reagent (2)
- # ring-swagger (2)
- # rum (1)
- # spacemacs (8)
- # specter (17)
- # yada (1)
:main phatam-api.core
project.clj
(ns phatam-api.core
(:require [ring.adapter.jetty :as jetty]
[phatam-api.handler :as handler])
(:gen-class))
(defn -main
"Start the Server"
[& args]
;; start server
(let [server-options {:host "127.0.0.1"
:ssl? false
:join? false
:port 3000}]
(jetty/run-jetty (handler/app) server-options))
(prn "Server is running...."))
phatam-api.core
but when I run lein uberjar
ā phatam-api lein uberjar
Warning: specified :main without including it in :aot.
Implicit AOT of :main will be removed in Leiningen 3.0.0.
If you only need AOT for your uberjar, consider adding :aot :all into your
:uberjar profile instead.
Compiling phatam-api.core
2017-05-01 21:46:11.582:INFO::main: Logging initialized @1213ms
it is running quite long