github.io网站搭建

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

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

2. 本地搭建:
· 安装Node.js和Git。
· 使用npm安装Hexo:`npm install -g hexo-cli`。
· 初始化Hexo:`hexo init`。
· 安装主题:`cd themes && git clone https://github.com/iissnan/hexo-theme-next`。

3. 编写内容:
· 在`source/_posts`目录下创建Markdown文件编写文章。

4. 预览:
· 启动本地服务器:`hexo server`。
· 在浏览器访问`http://localhost:4000`预览。

5. 部署:
· 安装Hexo部署插件:`npm install hexo-deployer-git --save`。
· 配置`_config.yml`文件中的deploy部分。
· 部署到GitHub:`hexo generate`,然后`hexo deploy`。

GitHub

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

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

Home - The GitHub Blog

Updates, ideas, and inspiration from GitHub to help developers build and design software.
github.blog

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

Sign up for 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

Explore GitHub

Explore is your guide to finding your next project, catching up with what’s trending, and connecting with the GitHub community.
github.com