Open luckypoem opened 10 years ago
first of all, thanks for trying :)
what are the files/dirs 'bazinga' and 'test1'? not that it's important, but if there is crap in the package I should clean it :P (or are these you storage files?)
have you added articles or pages yet? where is your bazinga.dat? what's the ouput of 'bzg list'? have you installed all of the requirements?
i would like to solve that problem, it would be nice if you could give me more information :)
hi.
as3:~# cd ~/.bazinga as3:~/.bazinga# ls bazinga bazinga.conf example-article index.template style.css temp test1 as3:~/.bazinga# ls bazinga bazinga.conf example-article index.template style.css temp test1 as3:~/.bazinga# ls bazinga AUTHORS bzg example-config examples LICENSE README style-improved.css as3:~/.bazinga# cat test1 category: "articles" author: "John Doe" website: "http://bzg.brite.biz" email: "me@myowndomain.org" title: "test1" date: "2013-11-25" time: "12:00" tags: "misc"
这是测试1. as3:~/.bazinga#
i added an article:test1,but the article has no extension name such as .txt or .md?
as3:~/.bazinga# find . -name bazinga.dat as3:~/.bazinga# (no bazinga.dat or it's hidden?)
as3:~/.bazinga# bzg list Articles:
Pages:
as3:~/.bazinga#
i think i installed all of the requirements.what are the detailed requirements?
hi again, thanks for giving me the infos :)
from the github-page:
Here is a list of the prerequisites:
- highlight (needed for syntax highlighting feature)
- dvipng (provided by texlive-bin)
- latex (provided by texlive-bin package)
- ncftp (for ftp push function)
- gnuplot
- convert (provided by ImageMagick)
- git (needed for history and reset functions)
if you have installed all of these programs, then also please check out, what perl version you are running and on what system? (linux, bsd, ?) are you running it as your normal user, or as root user? for me it looks as if you are logged in as root, and then the problem could be that the bazinga.dat ist stored in root's home directory :P
hmmm after reading over your comments again I think i might know what's he problem. The files you add aren't added automatically, you have to add it first with 'bzg add'.
The textfiles themselves are pretty much unimportant, you can delete the after you added them, because they are stored in bazinga.dat and could be exported whenever needed.
on my bazinga-blog I have a separate page for usage scenarios, please have a look at:
http://ap0calypse.agitatio.org/pages/bazinga.html
after reading that, it should be clear what I mean ;)
the 'normal' bazinga way of editing and publishing is like this:
I hope it's getting clearer now :)
hi
as3:~/.bazinga# ls bazinga chinese-economy.txt index.template test1.txt Update bazinga.conf example-article.txt style.css test2.txt Updating bazinga.dat fengyuwuzu.txt temp test3.txt as3:~/.bazinga#
this time,it works:http://bzg.brite.biz/,but the homepage seem to be able to only show 6 articles.the 7th article(http://bzg.brite.biz/articles/2011/07/01/my-first-article.html) can't show on the homepage,also there is no "page 2" superlink appearing.so how to fix this issue?
hi ;)
nice to hear that it works now. :dancers:
check your bazinga.conf, there you can change the following:
MAX_ARTICLES_MAIN: "3"
to whatever you want. There is no such thing as a 'page 2'. I haven't fixed this because I don't need 10 or more articles on one page. bazinga should be fast, not bloated and feature rich like others. But if you want to have a page 2 superlink, hey, just do it :) that's why it's open source :)
as3:~/.bazinga# bzg update
u can see the articles:example-article and test1 didn't appear in static site's root dir: ~/bazinga-blog/.
why? pls see http://bzg.brite.biz/,nothing in it