Skip to content

neilChenXie/ChenBlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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

hexo

###II. Themes

next

##Debug log

  • 8/9/2015:

    • hexo generate JS-YAML Error

      posts need "title" instead of title

  • 7/7/2015

    • change to /blog
  • 7/6/2015

    • add photo

      put photo folder under source folder (it will be copied to public)
      link: /profile/photo/photoName.jpg

  • 7/3/2015

    • configure themes/next/_config.md

      change /tags to tags, same with category,about...
      otherwise, they won't change based on blog root config

##Todo list

  • change the home page to archive page ??

Reference

Hexo command

Reference

About

blog to record my professional experience and precious memory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published