summaryrefslogtreecommitdiff
path: root/src/chef/core.clj
diff options
context:
space:
mode:
authorTim <contact@bytim.eu>2025-05-12 22:10:39 +0200
committerTim <contact@bytim.eu>2025-05-12 22:10:39 +0200
commit58906c635ad0ea2028f99997cb673ef40a2ea2bb (patch)
tree1eb8718b6d43ab19b0b91acae0f47bcbcc223faa /src/chef/core.clj
parent06ecbc8c6d52f3e832683e68a52461c5f7c6cb84 (diff)
downloadchef-58906c635ad0ea2028f99997cb673ef40a2ea2bb.tar.xz
chef-58906c635ad0ea2028f99997cb673ef40a2ea2bb.zip
Add sqlite database
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}))