#Chen blog
##Prepare
###I. Node.js
solve
npm
permission problem.
Detail
##Install
#install hexo
npm install hexo -g
npm install hexo-cli -g
#get main
git clone https://github.com/neilChenXie/ChenBlog.git Blog
npm install
#get next
git clone https://github.com/iissnan/hexo-theme-next themes/next
cp themes/config_backup/next_config.txt themes/next/_config.yml
hexo clean
hexo generate
##Server
There are two choices.
The 1st choice is mainly used to check proper working.
The 2nd is used to integrate the ChenBlog with ChenNode
###I. Hexo server
#run under Blog directory
hexo server
In browser enter
localhost:4000/profile/
.
###II. Chen-Node
#under public folder of ChneNode
ln -s [relative path to Blog/public] profile
check the symbol link under public folder of ChenNode project, then start ChenNode server.
##Blog Information
###I. Main
###II. Themes
##Debug log
-
8/9/2015:
-
hexo generate
JS-YAML Errorposts need "title" instead of title
-
-
7/7/2015
- change to /blog
-
7/6/2015
-
add photo
put
photo
folder undersource
folder (it will be copied to public)
link:/profile/photo/photoName.jpg
-
-
7/3/2015
-
configure
themes/next/_config.md
change
/tags
totags
, same withcategory
,about
...
otherwise, they won't change based on blog root config
-
##Todo list
- change the
home page
toarchive page
??