Kaynağa Gözat

Fixup example files and README.

Brit Butler 11 yıl önce
ebeveyn
işleme
4ae9634c52
3 değiştirilmiş dosya ile 2 ekleme ve 33 silme
  1. 1 1
      README.md
  2. 1 0
      examples/single-site.coleslawrc
  3. 0 32
      examples/multi-site.coleslawrc

+ 1 - 1
README.md

@@ -38,7 +38,7 @@ Server side setup:
38 38
 
39 39
 1. Setup git and create a bare repo as shown [here](http://git-scm.com/book/en/Git-on-the-Server-Setting-Up-the-Server).
40 40
 2. Install Lisp (we recommend SBCL) and [Quicklisp](http://quicklisp.org/).
41
-3. ```wget -c https://raw.github.com/redline6561/coleslaw/master/examples/single-site.coleslawrc -O ~/.coleslawrc``` # and edit as necessary
41
+3. ```wget -c https://raw.github.com/redline6561/coleslaw/master/examples/example.coleslawrc -O ~/.coleslawrc``` # and edit as necessary
42 42
 4. ```wget -c https://raw.github.com/redline6561/coleslaw/master/examples/example.post-receive -O your-blog.git/hooks/post-receive``` # and edit as necessary
43 43
 5. ```chmod +x your-blog/.git/hooks/post-receive```
44 44
 6. Create or clone your blog repo locally. Add your server as a remote with ```git remote add prod git@my-host.com:path/to/repo.git```

+ 1 - 0
examples/single-site.coleslawrc

@@ -4,6 +4,7 @@
4 4
  :feeds ("lisp")
5 5
  :plugins ((mathjax)
6 6
            (sitemap)
7
+           (static-pages)
7 8
            (disqus :shortname "my-site-name")
8 9
            (analytics :tracking-code "foo"))
9 10
  :repo "/home/git/tmp/improvedmeans/"

+ 0 - 32
examples/multi-site.coleslawrc

@@ -1,32 +0,0 @@
1
-(("/home/coleslaw/tmp/lisp-is-fun/" . (:author "Ralph Moritz"
2
-                                      :deploy-dir "/home/coleslaw/www/lisp-is-fun/"
3
-                                      :domain "http://blub.co.za"
4
-                                      :feeds ("lisp")
5
-                                      :plugins ((mathjax))
6
-                                      :routing ((:post           "posts/~a")
7
-                                                (:tag-index      "tag/~a")
8
-                                                (:month-index    "date/~a")
9
-                                                (:numeric-index  "~d")
10
-                                                (:feed           "~a.xml")
11
-                                                (:tag-feed       "tag/~a.xml"))
12
-                                      :sitenav ((:url "http://twitter.com/ralph_moeritz" :name "Twitter")
13
-                                                (:url "http://github.com/ralph-moeritz" :name "Code"))
14
-                                      :staging-dir "/tmp/coleslaw"
15
-                                      :title "(lisp :is 'fun)"
16
-                                      :theme "hyde"))
17
- ("/home/coleslaw/tmp/musings/" . (:author "Ralph Moritz"
18
-                                  :deploy-dir "/home/coleslaw/www/musings/"
19
-                                  :domain "http://musings.co.za"
20
-                                  :feeds ("opinion")
21
-                                  :plugins ((mathjax))
22
-                                  :routing ((:post           "posts/~a")
23
-                                            (:tag-index      "tag/~a")
24
-                                            (:month-index    "date/~a")
25
-                                            (:numeric-index  "~d")
26
-                                            (:feed           "~a.xml")
27
-                                            (:tag-feed       "tag/~a.xml"))
28
-                                  :sitenav ((:url "http://twitter.com/ralph_moeritz" :name "Twitter")
29
-                                            (:url "http://github.com/ralph-moeritz" :name "Code"))
30
-                                  :staging-dir "/tmp/coleslaw"
31
-                                  :title "Musings"
32
-                                  :theme "hyde")))