hexo-blog-setup

Personal Blog Setup in Hexo

Install Hexo

Assuming the latest version of npm is already installed

Update dependencies

  1. Use npm outdated to check which dependencies can be updated.
  2. npm update only updates minor releases and if you want to change to major releases you need to either manually update each outdated dependency with npm install xxx.
  3. Install a global package management tool with command npm install -g npm-check-updates and call ncu -u to upgrade all libraries to their latest versions. You may need to manually solve some dependency conflicts.

Run Blog Server in local environment

Run command hexo server and open localhost:4000 in the browser with /admin to edit posts or drafts directly in the browser with markdown preview.