Albert-W / cool-panda

It is my blog created by jekyll and hosted by github.

Home Page:https://albert-w.github.io/cool-panda/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

项目在张展示

在线展示地址: cool panda

前置知识

工欲善其事,必行利其器。

为充分利用github page 和 jekyll 的便利,建议先学习jekyll的使用。 推荐一个教学视频——Jekyll - 静态网站生成器教程

安装

1, Install ruby-build tool:

$ sudo yum install git-core zlib zlib-devel gcc-c++ patch readline readline-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison curl sqlite-devel

2, Install rbenv and ruby-buld:

curl -sL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-installer | bash -
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
source ~/.bashrc

3, Install ruby:

rbenv install -l
rbenv install 2.6.5
rbenv global 2.6.5

4, Install jekyll, bundler:

gem install jekyll bundler

使用

$ git clone https://github.com/Albert-W/cool-panda.git your_site
$ cd your_site
$ bundler update
$ bundler install
$ bundler exec jekyll serve

jekyll 启动网络服务器,点击 http://127.0.0.1:4000 就可查看网站。

项目全局配置文件是 _config.yml, 主入口文件是根目录下的index.html。

Licence

Great thanks to Dale Anthony and his Uno. Vno Jekyll is followed with Uno and be licensed as Creative Commons Attribution 4.0 International. See the link for more information.

About

It is my blog created by jekyll and hosted by github.

https://albert-w.github.io/cool-panda/


Languages

Language:HTML 38.4%Language:SCSS 23.1%Language:JavaScript 20.3%Language:CSS 17.7%Language:Shell 0.4%Language:Ruby 0.1%