CMS Work Log

Starting today, I'll try to use what I've learned to build a CMS(content management system) on Spring. This post will be a work log of what I've done each step and how I did it. You can also view this project on my Github Page. Framework: Maven Spring + Hibernate…

Read more

Adding Font Awesome To Ghost

Loading page, please wait... Still loading... Lo... Wait. What?! Just kiding. The icons you saw are the things we gonna talk about today. Why I want to add Font Awesome to Ghost? Because it's awesome! Well, it's always a problem that if you want to use nice icon with your…

Read more

Ubuntu下nginx+nodejs搭建Ghost博客

我将把我如何安装Ghost博客并部署到我装有Ubuntu的VPS(virtual private server)的整个过程跟大家分享出来。 在确定使用Ghost前我先后尝试过许过用来写博客的平台使用各种网站的博客服务新浪,Wordpress等等,可是始终觉得不是自己的感觉不是很爽。之后的搜索中发现这了Hexo这个用来生成静态页面的博客平台。在Hexo中又摸爬滚打了一段时间之后,发现除了可以很方便部署到Github Pages之外,在移动端Hexo无能为力的现实之后,又开始寻找新的目标。(有时间我也会把Hexo的一些心得体会写出来,如果有兴趣可以先去看看我做的Hexo主题stylixo)。 言归正传,之所以使用Ghost是因为好看。嗯,是真的好看。再加上,出了对UI主题等等改动之外,平时写博客不需要触及代码之类的东西(如果你觉得Markdown也算代码,那就当我没说)。另外的一个最大的好处就是其Web app设计思路的博客管理系统,可以让你随时随地抄起手机拿起pad就能写起来。 将Ghost部署到服务器上不是什么难事,只是有一些需要注意的细节。在这里我想将个人域名的首页用作个人介绍,所以将博客放在子域名(www.yourdomain.com/blog)上了. 首先你需要安装node.js到你的服务器上。我使用的Linode的VPS,因为是整个虚拟机交到你手里,你有完全的掌控权。如果你和我一样,不仅想假设自己的主页,博客并且想搭建一些动态网站或者给自己的项目做demo的话这个无疑是最好的选择。我选择的是Linode 1GB版本,一个月10刀约合人民币61元. (你可以点这里通过我的推荐码注册你的Linode。不要说我套路深!…

Read more

How to Add Comments to Ghost Blog

Ghost is a blog system using node.js that I reccently discovered. The moment I saw the clean interface, I fall in love with it. However, without a commenting system in a blog, it lacks interaction with readers. This is why we are going to add this feature to our…

Read more

Welcome to Ghost

You're live! Nice. We've put together a little post to introduce you to the Ghost editor and get you started. You can manage your content by signing in to the admin area at <your blog URL>/ghost/. When you arrive, you can select this post from a list…

Read more