rizzo icon indicating copy to clipboard operation
rizzo copied to clipboard

generating "published" dir failed

Open luckypoem opened this issue 11 years ago • 4 comments

hi. i cloned ur sourcecode by git,and installed groovy by "apt-get install groovy"

as3:~/rizzo# groovy rizzo.groovy -s . -d published Caught: java.lang.NoClassDefFoundError: org/apache/tools/ant/BuildException at rizzo.class$(rizzo.groovy) at rizzo.$get$$class$groovy$util$AntBuilder(rizzo.groovy) at rizzo.run(rizzo.groovy:163) as3:~/rizzo#

how to fix the issue?

luckypoem avatar Oct 28 '13 07:10 luckypoem

I’m not sure about the Groovy distribution you would get from apt-get, but can you try it after downloading Groovy from http://groovy.codehaus.org/Download as described at http://stackoverflow.com/a/13222973/758011?

fifthposition avatar Oct 30 '13 23:10 fifthposition

hi. it's fixed.

as3:~# apt-get remove groovy -y as3:~# wget http://dist.groovy.codehaus.org/distributions/groovy-binary-2.1.9.zip as3:~# unzip groovy-binary-2.1.9.zip as3:~/rizzo# ~/groovy-2.1.9/bin/groovy rizzo.groovy -s . -d published [copy] Copying 1 file to /root/rizzo/published/css [copy] Copying 1 file to /root/rizzo/published/images [copy] Copying 1 file to /root/rizzo/published/files as3:~/rizzo# ls css images pages published rizzo.groovy templates files meta.groovy posts README.md site-config.groovy as3:~/rizzo# ls pages about.html markdownness.md as3:~/rizzo# ls posts a-markdown-test.md lorem-ipsum.html lorem-ipsum-again.html our-first-post.html as3:~/rizzo# ls published about.html archives.html feed.xml images markdownness.html tags.html archives css files index.html tags as3:~/rizzo# cd published as3:~/rizzo/published#

so ~/rizzo/published/ is the root dir of the static site.

luckypoem avatar Oct 31 '13 13:10 luckypoem

hi.

how to set excerpt for a post?i add in some place,but it didn't take effect.so waht to do?

luckypoem avatar Nov 01 '13 13:11 luckypoem

If you’re referring to having an excerpt from a post which shows up on the front page: Rizzo does not yet support this. It is not very customizable yet and currently just includes the full content of the last five posts on the home page.

I need to rework Rizzo entirely, and when I do, this should be an option.

fifthposition avatar Nov 02 '13 01:11 fifthposition