On Thu, Apr 9, 2009 at 7:00 AM, John M McIntosh
<johnmci(a)smalltalkconsulting.com> wrote:
Ok, I'm not clear on how to setup a blog given the
base pier installation
from MC. There is an
add blog cmd in the command, then a number of blog components in the add
component logic.
However I'm not quite sure what the steps are to put a blog into a new wiki
are? Plus any changes
to the environment that are needed.
Right now if I add a blog, then add a blog archive I just get "no blog
found" since
findBlog
^ self context structure parents reverse
detect: [ :each | each isKindOf: PBBlog ]
ifNone: [ nil ]
doesn't find the PBBlog
Obviously some structure/steps are required beyond the let's try this and
see what happens.
You may want to download Pier-Setup and execute 'PRDistribution new
register'. That will erase default Pier kernel and replace with with a
new one, with a good-looking css some default pages and a blog. Here
is the list of packages I install in a new pharo-web image related to
Pier:
instClass := Smalltalk at: #Installer.
instClass lukas
project: 'pier';
answer: 'Would you like.*' with: true;
answer: '.*name of your Pier kernel.*' with: 'Pier';
answer: '.*entry point.*' with: 'pier';
answer: '.*port number.*' with: '8080';
installQuietly: 'Pier-All';
install: 'Pier-Squeak-Persistency'.
instClass lukas
project: 'pieraddons';
install: 'Pier-Design';
install: 'Pier-Documents';
install: 'Pier-EditorEnh';
install: 'Pier-Google';
install: 'Pier-LightBox';
answer: '.*SlideShare.*' with: '';
install: 'Pier-Links';
install: 'Pier-Randomizer';
install: 'Pier-Setup';
install: 'Pier-SyntaxHighlighter';
install: 'Pier-TagCloud';
install: 'Pier-Titles';
install: 'Pier-Twitter';
install: 'Sitemap'.
--
Damien Cassou
http://damiencassou.seasidehosting.st