hexo-blog-setup
Personal Blog Setup in Hexo
Install Hexo
Assuming the latest version of npm is already installed
Update dependencies
- Use
npm outdatedto check which dependencies can be updated. npm updateonly updates minor releases and if you want to change to major releases you need to either manually update each outdated dependency withnpm install xxx.- Install a global package management tool with command
npm install -g npm-check-updatesand callncu -uto 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.