Personal notes for maintaining the blog:
# Clone the blog repo
git clone https://github.com/bitkevin/kevinpan.page.git
cd kevinpan.page
# Install dependencies
npm install
# Run the local preview server
npx hexo serverCreate a new post:
npx hexo new "my new article"Deploy the generated site to bitkevin/bitkevin.github.io:
npx hexo clean
npx hexo deployNotes:
- Write posts directly in this repo.
- For images, upload them somewhere that provides a stable public URL, then insert that URL into the post.
- Deployment uses the Git target configured in the root
_config.yml.