diff options
author | Tim <contact@bytim.eu> | 2025-05-12 22:10:39 +0200 |
---|---|---|
committer | Tim <contact@bytim.eu> | 2025-05-12 22:10:39 +0200 |
commit | 58906c635ad0ea2028f99997cb673ef40a2ea2bb (patch) | |
tree | 1eb8718b6d43ab19b0b91acae0f47bcbcc223faa /src/chef/core.clj | |
parent | 06ecbc8c6d52f3e832683e68a52461c5f7c6cb84 (diff) | |
download | chef-58906c635ad0ea2028f99997cb673ef40a2ea2bb.tar.xz chef-58906c635ad0ea2028f99997cb673ef40a2ea2bb.zip |
Add sqlite database
Diffstat (limited to 'src/chef/core.clj')
-rw-r--r-- | src/chef/core.clj | 5 |
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})) |