Browse files

updated readme

  • Loading branch information...
1 parent 4acdd35 commit 3e2c40f19b7026ed2663b116561cceee08ed4f59 @gnarmis committed Jul 4, 2012
Showing with 15 additions and 7 deletions.
  1. +14 −6
  2. +1 −1 project.clj
@@ -1,17 +1,25 @@
# korma-lobos-tpl
-A website written in noir.
+A template integrating Korma and Lobos.
## Usage
+Create a MySQL db and provide details in src/korma_lobos_tpl/secret.clj in the form of dynamic bindings of all the required names used in lobos.config and korma-lobos-tpl.entities.connection.
lein deps
-lein run
+lein repl
-## License
-Copyright (C) 2011 FIXME
+Once in the REPL:
+(use 'lobos.core 'lobos.connectivity 'lobos.migration 'lobos.config 'lobos.migrations)
+(open-global sqldb)
+(use 'korma-lobos-tpl.entities.users)
+(create-new-user "Aberforth")
-Distributed under the Eclipse Public License, the same as Clojure.
+## License
+Do whatever the fuck you want.
@@ -1,4 +1,4 @@
-(defproject korma-lobos-tpl "0.1.0-SNAPSHOT"
+(defproject korma-lobos-tpl "0.0.1-SNAPSHOT"
:description "A template integrating Korma and Lobos"
:dependencies [[org.clojure/clojure "1.3.0"]
[noir "1.2.1"]

0 comments on commit 3e2c40f

Please sign in to comment.