Commit 40ff54bf authored by Alex Sarmanov's avatar Alex Sarmanov

update, server relocate

parent ab7409e5
(defproject cljs-bmain "0.1.1-SNAPSHOT"
:dependencies [
[org.clojure/clojure "1.8.0"]
[org.clojure/clojure "1.9.0-alpha13"]
[org.clojure/clojurescript "1.9.229"]
[rum "0.10.6"]
[http-kit "2.2.0"]
[compojure "1.5.1" :exclusions [commons-codec]]
[com.cognitect/transit-clj "0.8.288"]
[com.cognitect/transit-cljs "0.8.239"]
[binaryage/devtools "0.8.1"]
[binaryage/devtools "0.8.2"]
[secretary "1.2.3"]
[kibu/pushy "0.3.6"]
[alandipert/storage-atom "2.0.1"] ;; persistant atom storage HTML 5
[alandipert/storage-atom "2.0.1"] ;; persistent atom storage HTML 5
]
:eval-in-leiningen true
:plugins [[lein-cljsbuild "1.1.4"]
......@@ -19,18 +19,21 @@
:aliases { "package" ["do"
"cljsbuild" "once" "advanced,"
"uberjar"] }
;; :aot [ bmain.server ]
; :aot [ server.core ]
:uberjar-name "bmain.jar"
:uberjar-exclusions [#"public/js/out"]
:main bmain.server
:figwheel { :ring-handler "bmain.server/app"
:main server.core
:figwheel {
:ring-handler "server.core/app"
:css-dirs ["resources/public"]
:server-port 8080
:nrepl-port 7000
:repl true }
:profiles {:dev {:dependencies [[com.cemerick/piggieback "0.2.1"]
[org.clojure/tools.nrepl "0.2.12"]]
[org.clojure/tools.nrepl "0.2.12"]
[figwheel-sidecar "0.5.7"]]
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}}
:cljsbuild {
......
(ns bmain.server
(ns server.core
(:require
[compojure.core :as compojure]
[compojure.route :as route]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment