GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Robin Chen's Blog
  • Archives
  • Tags
  • Categories
  • About
  • KinDemo

This view

  • Original page
  • New address

GeezerVison is showing robincpc.github.io — Set up My Hexo Blog

Install Hexo and setting

Here are command for creating my hexo blog:

1
2
3
4
5
6
7
npm install -g hexo-cli
hexo -v # just check hexo's version
hexo init robincpc.github.io # initialize hexo blog's folder
cd robincpc.github.io
npm install
hexo server
vim _config.yml

Update config file

Some parts I changed in “_config.yml”

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Site
title: robincpc's note
subtitle: ''
description: 'robincpc"s personal blog'
keywords:
author: Robin Chen
language: en
timezone: 'Asia/Taipei'

# URL
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
url: http://robincpc.github.io/


# Deployment
## Docs: https://hexo.io/docs/one-command-deployment
deploy:
type: 'git'
repo: https://github.com/RobinCPC/robincpc.github.io.git
branch: main

Clean up

1
2
3
4
5
hexo generate --watch
hexo new first-post
vim source/_posts/first-post.md # edit your first post
rm source/_posts/hello-world.md # delete demo post
hexo clean

Create a repo on you github for your Hexo blog

1
2
npm install hexo-deployer-git --save
hexo deploy
文章作者: Robin Chen
文章連結: http://robincpc.github.io/2022/11/23/first-post/
版權聲明: 本部落格所有文章除特別聲明外,均採用 CC BY-NC-SA 4.0 許可協議。轉載請註明來自 Robin Chen's Blog!

評論
avatar
Robin Chen
Personal blog about Robot, Programming, and AI
文章
19
標籤
57
分類
1
Follow Me
公告
This is my Blog
目錄
  1. 1. Install Hexo and setting
  2. 2. Update config file
  3. 3. Create a repo on you github for your Hexo blog
最新文章
Interactive Robot Kinematics: Hands-On with ImGui and ImGuizmo
Interactive Robot Kinematics: Hands-On with ImGui and ImGuizmo2023-11-07
Set up My Hexo Blog2022-11-23
Install Wine with Mono & Gecko in Ubuntu 20.04
Install Wine with Mono & Gecko in Ubuntu 20.042020-04-29
Remote login localhost jupyter notebook through AWS EC2 instance by ssh reverse tunnel2019-11-26
Use ConqueGDB in Vim
Use ConqueGDB in Vim2017-09-21
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.