20240419 Testing
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick Start
Create a new post
1 | $ hexo new "My New Post" |
More info: Writing
Run server
1 | $ hexo server |
More info: Server
Generate static files
1 | $ hexo generate |
More info: Generating
Deploy to remote sites
1 | $ hexo deploy |
More info: Deployment
TestYapin
Test by Yapin
Metadata
Status :: #🌱 #🌼 #🌲
Note Type :: #📝 #🗺️
Source URL ::
Source Type :: #(想法、書籍、網路文章、影片、課程、Podcast、PDF/電子書、聊天、貼文。)
Author :: #(The Information Author)
Topics :: #(紀錄筆記相關的主題 (MOC),主題 (MOC) 依據需要會不斷新增。例如時間管理、專案管理、產品管理…等。)
Split :: [[2024-04-19]]
Evergreen Note
Question :: What this note talking about?
->
Answer :: (My answer)
Yapin Hexo Blog Progress
Prepare Tools
Git
Ubuntu
- Use
sudo apt install git
- apt is good to control
Node.js
Ubuntu
- Use NVM to install node
- Because node have many version and in business you usually have to switch many different version to solve development environment problem
- NVM is an opensource (based on bash script)
- NVM GitHub Repository
- Check NPM Gloabl Install Location
npm root -g
- NPM is a big problem to do project manager
- NVM can help control this problem
Set up Hexo
npm install -g hexo-cli
npm install hexo