github.io 搭建自己的博客

纯净搜索 为您找到 本页 9 条,用时 0 秒(数据源:bingrss)

AI 回答 由 glm-4-flash 生成 · 仅供参考,请自行核实
1. 准备工作:
· 注册GitHub账号。
· 创建一个新的GitHub仓库,仓库名为“用户名.github.io”。

2. 安装Git:
· 下载并安装Git。
· 配置Git用户信息。

3. 安装Node.js和Hexo:
· 下载并安装Node.js。
· 使用npm全局安装Hexo:`npm install -g hexo-cli`。

4. 创建Hexo博客:
· 在本地创建一个文件夹,如“myBlog”。
· 切换到该文件夹,运行`hexo init`。

5. 安装主题:
· 选择一个喜欢的主题,如Next。
· 将主题克隆到本地:`git clone https://github.com/theme-next/hexo-theme-next themes/next`。

6. 修改配置文件:
· 编辑根目录下的`_config.yml`文件,配置博客信息。

7. 编写文章:
· 在`source/_posts`文件夹下创建Markdown文件,如“first-post.md”。

8. 预览博客:
· 在本地启动Hexo服务器:`hexo server`。

9. 部署到GitHub:
· 安装Hexo部署插件:`npm install hexo-deployer-git --save`。
· 修改根目录下的`_config.yml`文件,配置部署信息。
· 部署博客:`hexo generate`,然后`hexo deploy`。

GitHub

How people build software. GitHub has 573 repositories available. Follow their code on GitHub.
github.com

GitHub中文社区

GitHub是世界上最大的代码托管平台,超1亿开发者正在使用。 GitHub中文社区,是国内领先的开源社区,是一个帮您发现GitHub上优质开源项目的地方。 提供GitHub趋势,GitHub排行榜,GitHub分类检索,中文翻译等实用功能
github.tw.cn

GitHub - Wikipedia

On November 3, 2021, GitHub announced that CEO Nat Friedman, who became CEO when Microsoft acquired GitHub, was stepping down as CEO and GitHub's chief product officer, Thomas Dohmke, would become CEO on November 15.
en.wikipedia.org

Sign in to GitHub · GitHub

GitHub is where people build software. More than 225 million people use GitHub to discover, fork, and contribute to over 800 million projects.
github.com

About GitHub

GitHub is where people build software. More than 225 million people use GitHub to discover, fork, and contribute to over 800 million projects.
github.com

Git · GitHub

GitHub is where people build software. More than 225 million people use GitHub to discover, fork, and contribute to over 800 million projects.
github.com

GitHub (@github) / X

Through internal testing, GitHub’s new Git storage architecture supported 5,000 concurrent agents working on a repo, sending 7,200 pushes per second, all while serving read traffic with consistently low latency.
x.com