 
   (stop-server)
 
-  @server-state
-
 
   )

            [org.httpkit.server :refer [with-channel on-close on-receive run-server send!]]
            [net.cgrand.enlive-html :refer [deftemplate set-attr append html substitute content]]
            [ceres.collector :refer [store] :as collector]
            [ceres.curator :refer [get-recent-articles get-articles-count export-tweets get-news-diffusion get-news-frequencies get-month-distribution] :as curator]
            [ceres.executor :refer [start-executor]]
            [gezwitscher.core :refer [start-filter-stream]]
            [clojure.java.io :as io]

       (assoc-in [:app :recent-articles] []))))



(defroutes all-routes
  (resources "/")

  (GET "/tweets/ws" [] tweet-handler)

  (GET "/*" [] (if (= (:build @server-state) :prod)
                 (static-page)
