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.clj3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/chef/core.clj b/src/chef/core.clj
index f3422d5..cfe72f9 100644
--- a/src/chef/core.clj
+++ b/src/chef/core.clj
@@ -2,9 +2,12 @@
(:require [org.httpkit.server :as http-server]
[chef.routes :as croutes]
[chef.database :as cdb])
+ (:import java.io.File)
(:gen-class))
(defn -main [& args]
+ (println "Creating thumbnails folder...")
+ (.mkdirs (File. "./thumbnails/"))
(println "Running db patches...")
(cdb/run-patches!)
(println "Starting http server...")