github-pages使用简介
2016-02-28 22:02
323 查看
ssh,git等基础知识就不介绍了。
1. 使用github-pages
参考链接:https://pages.github.com/
基本上参照首页的指南就可以创建一个个人站点。选择User or organization site选项,然后会看到下图,然后一步步来就可以了。
最后效果
2. 使用jekyll
jekyll快速上手指南:http://jekyllrb.com/docs/quickstart/
gem sources --add https://ruby.taobao.org/ --remove https://rubygems.org/
sudo gem install jekyll -V
jekyll new . --force
本地结果是这样的:
3. 常见问题
a.
这里如果直接参照该教材可能会出现错误。见:https://github.com/juthilo/run-jekyll-on-windows/issues/34
所以主要还是网络原因,可以使用淘宝的镜像:https://ruby.taobao.org/
b.
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
权限问题,加sudo就可以了
4. 参考链接
github-pages主页:https://pages.github.com/
jekyll快速上手:http://jekyllrb.com/docs/quickstart/
gem淘宝镜像:https://ruby.taobao.org/
利用github-pages建立个人博客:http://coolshell.info/blog/2015/03/github-pages-blog.html
1. 使用github-pages
参考链接:https://pages.github.com/
基本上参照首页的指南就可以创建一个个人站点。选择User or organization site选项,然后会看到下图,然后一步步来就可以了。
最后效果
2. 使用jekyll
jekyll快速上手指南:http://jekyllrb.com/docs/quickstart/
gem sources --add https://ruby.taobao.org/ --remove https://rubygems.org/
sudo gem install jekyll -V
jekyll new . --force
本地结果是这样的:
3. 常见问题
a.
这里如果直接参照该教材可能会出现错误。见:https://github.com/juthilo/run-jekyll-on-windows/issues/34
所以主要还是网络原因,可以使用淘宝的镜像:https://ruby.taobao.org/
b.
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
权限问题,加sudo就可以了
4. 参考链接
github-pages主页:https://pages.github.com/
jekyll快速上手:http://jekyllrb.com/docs/quickstart/
gem淘宝镜像:https://ruby.taobao.org/
利用github-pages建立个人博客:http://coolshell.info/blog/2015/03/github-pages-blog.html
相关文章推荐
- Java入门:Java下载与安装方法
- python学习笔记-Day6(2)
- 2.35 Java基础总结①抽象②接口③设计抽象类和接口的原则④接口和抽象类的区别
- java ee 13种技术
- java笔记
- 加权GN算法的Java实现
- java变量初始化顺序
- Data Structures And Problem Solving Using Java (Fourth Edition)中译版(Java 多态篇)
- JDBC中如何获取java.sql.Array的值
- 理解Struts2的Action中的setter方法是怎么工作的
- PAT 1006. 换个格式输出整数 (15);JAVA;Python实现
- C++所有类型的定义
- 1、提供推荐 Python代码
- java8 环境搭建(windows)
- java 调用solr服务器 实现增删改查 及高亮显示
- (转)java并发对象锁、类锁、私有锁
- Java中的同步与异步
- golang捕获panic
- Data Structures And Problem Solving Using Java (Fourth Edition)中译版(Java 继承篇)
- PHP实现多线程抓取网页