这个blog怎么做的 — How is this blog done
2015-06-30

这个blog怎么做的 — How is this blog done

谁从来试作双人的或更多人的blog,就知道说游的麻烦~

Anyone who's ever tried to maintain a couple type or other form of collective blog knows how hard it is to make it work. Potential problems are: content sync, simultaneous publishing the same material, making it safe, but giving enough freedom to all the collaborators so they would feel themselves like authors, not sidekicks, making a workflow that solves all these problems and all of them to follow it. We've never ran into those, because we picked a stack of technologies makes all this pain disappear.

重点技术是Git。我用Tortoise在Windows,我的宅男用Linux命令行借口…

Key technology is Git version control system. I use it in Linux shell, 小禹 on Windows with Tortoise GUI. I use Vim to edit Markdown formatted content, she uses Markdown Pad. Code and content are saved in one repository which makes things dramatically simple. We don't even have to think of any specific workflow. We just sync our local repos and pubish things when we feel it's ready.

我们用Pelican blog系统~

The blog engine itself is Pelican. The featured picture makes more sense now, huh? It's not a server software, it's merely a static HTML pages generator with a couple of tweaks we added. Publishing requires Fabric which uses Rsync over SSH. Or any other way to deliver files to their rightful place on a server, e.g. FTP. Once all the output published, it's being served by a lightweight webserver called Nginx.

大概这样。要是有问题,就问。

That's roughly how things are. If you got interested in more detailed explanation, don't hesitate to ask. Cheers!

两只淘河