NeverLand


  • 首页

  • 关于

  • 标签

  • 分类

  • 归档

  • 日程表

  • 站点地图

  • 公益 404

  • links

Hexo教程

发表于 2018-03-02

安装hexo

安装hexo之前需要将hexo和git(macOS系统自带)安装好
使用npm安装hexo

1
npm install -g hexo-cli

初始化并部署hexo博客

1
2
3
4
hexo i blog //init的缩写 blog是项目名
cd blog //切换到站点根目录
hexo g //generetor的缩写
hexo s //server的缩写

打开浏览器输入localhost:4000查看
主题文件安装在themes文件夹下 可从github找自己喜欢的博客主题

阅读全文 »

Hello World

发表于 2018-03-01

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

12
Young Leung

Young Leung

人生若只如初见

12 日志
RSS
GitHub E-Mail
© 2020 Young Leung
本站访客数:
由 Hexo 强力驱动
|
主题 — NexT.Pisces v6.0.4