summaryrefslogtreecommitdiff
path: root/src/chef/core.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/chef/core.clj')
-rw-r--r--src/chef/core.clj5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/chef/core.clj b/src/chef/core.clj
index 638698d..f3422d5 100644
--- a/src/chef/core.clj
+++ b/src/chef/core.clj
@@ -1,8 +1,11 @@
(ns chef.core
(:require [org.httpkit.server :as http-server]
- [chef.routes :as croutes])
+ [chef.routes :as croutes]
+ [chef.database :as cdb])
(:gen-class))
(defn -main [& args]
+ (println "Running db patches...")
+ (cdb/run-patches!)
(println "Starting http server...")
(http-server/run-server @croutes/ring-handler {:port 8080}))