Created
February 20, 2017 02:12
-
-
Save swlkr/f62dbbffba25075c245a8e42c544ea22 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns monolith.core | |
(:require [monolith.server :as server] | |
[monolith.env :as env] | |
[monolith.utils :as utils]) | |
(:gen-class)) | |
(def start server/start) | |
(def stop server/stop) | |
(def restart server/restart) | |
(utils/add-json-to-yesql) | |
(defn -main [& [port]] | |
(start) | |
(println (str "Listening on " (or port env/port)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment