comparison COMMENTS @ 129:613ad3447729

Misc update.
author Steve Kemp <steve@steve.org.uk>
date Thu, 20 Dec 2007 11:51:11 +0000
parents b296489d9ea1
children 07482ca8e696
comparison
equal deleted inserted replaced
128:9f092b9be906 129:613ad3447729
52 52
53 Assuming you have something like this: 53 Assuming you have something like this:
54 54
55 comments/ 55 comments/
56 A directory to contain the comments. 56 A directory to contain the comments.
57 NOTE: You will need to ensure your webserver has the permissions
58 to save files to this directory.
59
57 data/ 60 data/
58 The directory where your blog posts are loaded from. 61 The directory where your blog posts are loaded from.
59 62
60 63
61 You may then regenerate your blog via: 64 You may then regenerate your blog via:
63 chronicle --input=./date/ --comments=./comments/ --output=/var/www/blog/ 66 chronicle --input=./date/ --comments=./comments/ --output=/var/www/blog/
64 67
65 This will ensure that the comments saved by your webserver into the 68 This will ensure that the comments saved by your webserver into the
66 comments directory are included in the (re)generated blog. 69 comments directory are included in the (re)generated blog.
67 70
68 71
69 72
70 73
71 Multiple Machines 74 Multiple Machines
72 ----------------- 75 -----------------
73 76
96 --pre-build="rsync varz user@remote:/path/to/comments comments/" \ 99 --pre-build="rsync varz user@remote:/path/to/comments comments/" \
97 --comments=./comments 100 --comments=./comments
98 --output=./output 101 --output=./output
99 --post-build="rsync vazr ./output user@remote:/path/to/location" 102 --post-build="rsync vazr ./output user@remote:/path/to/location"
100 103
101 104
102 Steve 105 Steve
103 -- 106 --