通过 github 搭建一个免费的个人博客

看地址

兔子托尼啊, 这个就是我搭建好的。

下面我来告诉你们怎么搭建
github 搭建主题很简单,只要有个github账号就可以了。

去github 上面创建一个项目 你的用户名.github.io,切记你的用户名一定要和你注册的github名称一样。

我是fork的这个主题

Install and setup
Before using it, you may need Bower and Bundler on your local to install dependencies.

  • Fork code and clone
  • Run bower install to install all dependencies in bower.json
  • Run bundle install to install all dependencies in Gemfile
  • Update _config.yml with your own settings.
  • Add posts in /_posts
  • Commit to your own Username.github.io repository.

因为前端已经开始分模块来,这次构建我们用基于NodeJs、Bower and Bundler 命令。

  • 首先fork 代码到你的本地
  • 命令行执行 bower install
  • 命令行执行 bundle install
  • 更新_config.yml成你的
  • _posts这个文件夹就是你放博客的地方

如下图我们只要在里面放你的博客文章就可以了
在这里插入图片描述

支持MarkDown的写法很方便的。

如果有搭建不成功的可以回复我,我帮你。

在这里插入图片描述
关注公众号回复视频、书籍关键字领取更多免费福利。

发布了58 篇原创文章 · 获赞 9 · 访问量 7万+

猜你喜欢

转载自blog.csdn.net/rui888/article/details/103811549