Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated readme

  • Loading branch information...
commit 3e2c40f19b7026ed2663b116561cceee08ed4f59 1 parent 4acdd35
@gnarmis authored
Showing with 15 additions and 7 deletions.
  1. +14 −6 README.md
  2. +1 −1  project.clj
View
20 README.md
@@ -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.
+
```bash
lein deps
-lein run
+lein repl
```
-## License
-
-Copyright (C) 2011 FIXME
+Once in the REPL:
+```clojure
+(use 'lobos.core 'lobos.connectivity 'lobos.migration 'lobos.config 'lobos.migrations)
+(open-global sqldb)
+(migrate)
+(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.
View
2  project.clj
@@ -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"]
Please sign in to comment.
Something went wrong with that request. Please try again.