A basic blog framework designed around Compojure
Clojure
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/site
README

README

Use:

1. Intall Compojure and the JDBC libraries

2. Add Clogger/src to your classpath.

3. Create setup.clj (as follows, no dashes):

(ns site.setup)

(def *blog-name* "A Blog")
(def *user-name* "User")
(def *url-base* "www.site.com")
(def *password* "your blog's password")
(def *my-port* 8080)

(def *db-host* "localhost")
(def *db-port* 3306)
(def *db-name* "test_database_dev")
(def *db-user* "")
(def *db-password* "")

3. From slime:

-- For First Startup (create database) --

(use 'site.start)
(first-config)

-- For Normal Start (database already created) --

(use 'site.start)
(up)

-- To Stop Server --

(use 'site.start)
(down)