-
-
Save alandipert/a2326dd6fe669a4ca4f00e316eb39a8f 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 sinmara.run | |
(:require [ring.adapter.jetty :refer [run-jetty]] | |
[sinmara.core :refer [app]])) | |
(defn -main [& [port]] | |
(let [port (if port (Integer/parseInt port) 8080)] | |
(run-jetty app {:port port}))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment