CWorldCWorld

Stay hungry, Stay foolish. 求知若愚,虚怀若谷。

2019年6月14日Docs273 字约 2 分钟


Hello World

预置文档

欢迎来到 Hexo !这是你的第一篇文章。 有关详细信息,请查看 文档 。 如果您在使用 Hexo 时遇到任何问题,可以在 故障排除 中找到答案,或者您可以在 GitHub 上找到我。

快速开始

新建一篇文章

1
执行:$ hexo new "My New Post"

详细信息: 写作

Run server

1
执行:$ hexo server

详细信息: 服务

生成静态文件

1
执行:$ hexo generate

详细信息: 生成

部署到远程站点

1
执行:$ hexo deploy

详细信息: 部署

Bash 文档

命令:

命令 诠释
clean Remove generated files and cache.
config Get or set configurations.
deploy Deploy your website.
generate Generate static files.
help Get help on a command.
init Create a new Hexo folder.
list List the information of the site
migrate Migrate your site from other system to Hexo.
new Create a new post.
publish Render files with renderer plugins.
server Start the server.
version Display version information.

Global Options:

Options Comment
–config Specify config file instead of using _config.yml
–cwd Specify the CWD
–debug Display all verbose messages in the terminal
–draft Display draft posts
–safe Disable all plugins and scripts
–silent Hide output on console

For more help, you can use ‘hexo help [command]’ for the detailed information
or you can check the docs: docs

Buy me a cup of milk 🥛.

此博客已永久关闭,评论功能已迁移,请前往 新博客