semk / voldemort

A simple static site generator using Jinja2 and Markdown templates.
Apache License 2.0
50 stars 16 forks source link

how to gnerate the static site's root dir in my linux vps? #5

Open luckypoem opened 10 years ago

luckypoem commented 10 years ago

hi. as3:~/voldemort/foobarnbaz.com-site# voldemort --deploy --> Voldemort working at /root/voldemort/foobarnbaz.com-site --> Adding template directories to environment --> Initializing voldemort filters --> Pushing updates to semk.github.com --> Adding git@github.com:semk/semk.github.com.git as a submodule '/root/voldemort/foobarnbaz.com-site/_site' already exists in the index

On branch master

Untracked files:

(use "git add ..." to include in what will be committed)

../posts/test1.markdown

nothing added to commit but untracked files present (use "git add" to track) as3:~/voldemort/foobarnbaz.com-site#

can u update ur app in order to provide such command as "voldemort --build" or "voldemort --generate" to gnerate the static site's root dir in the linux vps?? tks a lot.

semk commented 10 years ago

Hi,

To generate the static site, simply run voldemort without any arguments.

You might want to edit the settings.yaml file and change the deploy attributes such as user, at and to before issuing the --deploy command. Or just simply use

voldemort --deploy -u <your-vps-username> -a <your-vps-domain> -t <path-in-vps-to-deploy>
luckypoem commented 10 years ago

hi. now i installed it: http://vdm.briteming.fm.pe/, but the posts order is not arranged as per the publishing time,for example,this post http://vdm.briteming.fm.pe/2014/04/25/mothers-kiss is published after the post http://vdm.briteming.fm.pe/2014/04/25/test2 , http://vdm.briteming.fm.pe/2014/04/25/mothers-kiss should be above http://vdm.briteming.fm.pe/2014/04/25/test2,but it's not.so how to correct the posts order?

semk commented 10 years ago

Hi,

Currently Voldemort orders the posts only by date not time. I will work on the fix and will let you know.

Thanks for reporting :-) On Apr 25, 2014 3:56 PM, "luckypoem" notifications@github.com wrote:

hi. now i installed it: http://vdm.briteming.fm.pe/, but the posts order is not arranged as per the publishing time,for example,this post http://vdm.briteming.fm.pe/2014/04/25/mothers-kiss is published after the post http://vdm.briteming.fm.pe/2014/04/25/test2 , http://vdm.briteming.fm.pe/2014/04/25/mothers-kiss should be above http://vdm.briteming.fm.pe/2014/04/25/test2,but it's not.so how to correct the posts order?

— Reply to this email directly or view it on GitHubhttps://github.com/semk/voldemort/issues/5#issuecomment-41378768 .