#30: Roughly working on Tomcat.
Not perfect yet by a long way but good enough for alpha.
This commit is contained in:
parent
d31ed67b98
commit
5b35b5bc18
4 changed files with 26 additions and 5 deletions
|
|
@ -15,9 +15,12 @@
|
|||
Timestamp
|
||||
PreparedStatement]))
|
||||
|
||||
(defstate ^:dynamic *db*
|
||||
:start (conman/connect! {:jdbc-url (env :database-url)})
|
||||
:stop (conman/disconnect! *db*))
|
||||
(def ^:dynamic *db* {:name "java:comp/env/jdbc/EmployeeDB"})
|
||||
;; (defstate ^:dynamic *db*
|
||||
;; :start (conman/connect! {:jdbc-url-env (env :database-url)
|
||||
;; :jdbc-url "jdbc:postgresql://127.0.0.1/youyesyet_dev?user=youyesyet&password=thisisnotsecure"
|
||||
;; :driver-class-name "org.postgresql.Driver"})
|
||||
;; :stop (conman/disconnect! *db*))
|
||||
|
||||
(conman/bind-connection *db* "sql/queries.sql")
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
;; Ultimately it's the goal to use the same UI utils for both main site and single page app.
|
||||
Loading…
Add table
Add a link
Reference in a new issue