octopress的一些总结】的更多相关文章

一直想弄一个漂亮一点的个人博客,之前一直用的博客园,对主页的能自定义内容实在不满意,终于下定决定,找到了Octopress这个适合我的解决方案,以下过程都是自己一步一步记录下来的,希望对大家有帮助. 1.首先你可以登录Octopress主页一下主要功能 http://octopress.org 并且确保mac安装了以下工具: git(应该是mac自带的) ruby 1.9.3以上版本(可以在终端中用ruby --version查看版本是否满足) 缺少的请单独下载安装,这里就不具体讲了 2.开始安…
在C:\DevKit\octopress目录下 执行如下指令 rake preview 打开浏览器 http://localhost:4000/ 重新生成 rake generate 部署 rake deploy 可以直接将 C:\DevKit\octopress_deploy 目录下文件上传到github 新建MD标签 rake new_post["title"] 生成文件路徑 octopress\source_posts 也可以直接在该目录下创建md文件然后 rake genera…
// 当我们需要在不同的电脑上来对同一个Octopress博客进行维护的时候就需要针对已存在的Octopress来设置环境了, 安装相应的软件 Git:http://msysgit.googlecode.com/files/Git-1.8.1.2-preview20130201.exe Ruby:http://files.rubyforge.vm.bytemark.co.uk/rubyinstaller/rubyinstaller-1.9.3-p429.exe DevKit:http://clo…
Windows live Writer是一个可以用来离线编写,并发布博客的工具. Octopress是一个静态博客生成系统.使用群体多是geek,主要有显示代码清晰,git同步,并且不用购买空间的特点. 写博客都通过html格式比较麻烦,所以这里简单介绍用Windows live Writer本地编写博客. 0.Windows live Writer下载后并不能直接使用,可以先通过设置关联一个博客园账号后打开编辑界面.   1.用Windows Live Writer编辑好文章,选择以“源代码”…
ruby开源项目之Octopress:像黑客一样写博客 百度权重查询 词库网 网站监控 服务器监控 SEO监控 Swift编程语言教程 今年一直推荐的一种写作方式.markdown语法快速成文,git与github实时保存,jekyll或octopress实时成书或者showoff实时成ppt.入门略有门槛,但是习惯了,写作效率会好很多.以下以octopress为例,进行说明. 配置个人github账号 登陆github,创建一个个人账号.假设叫做:rubyonchina. 然后回到ubuntu…
使用github + Octopress 搭建免费博客,先说碰到的问题,具体创建方法见下面. 问题1, 添加ruby淘宝链接问题,显示无法获取, 解决: source “http://ruby.taobao.org” 需要修改成: source “https://ruby.taobao.org” 问题2,rake setup_github_pages 操作之后没有反应, 解决: 此时需要直接写git://github.com/yourname/yourname.github.io.git 具体配…
# 安装rvm, ruby, bundler 略 # 克隆octopress $ git clone git://github.com/imathis/octopress.git octopress $ gem install bundler $ bundle install # 安装主题 $ rake install # 设置github帐号 $ rake setup_github_pages # 同步Github上已发布的博客 $ git checkout . # 干掉本机生成的文件, 使用…
因为重装系统的缘故,需要重新搭建octopress环境,在执行到: bundle install 会出现一些这样的错误:An error occurred while installing timers (4.0.1), and Bundler cannot continue. An error occurred while installing rake (10.4.2), and Bundler cannot continue. An error occurred while install…
前提条件: 1.安装了 Git2.用 rbenv 或 RVM 安装了 Ruby 1.9.3 以上版本3.安装了 ExecJS 的一种支持 JavaScript 运行环境 一.安装 Octopress git clone git://github.com/imathis/octopress.git octopress cd octopress 二.安装依赖 gem bundle install 遇到问题 Gem::RemoteFetcher::FetchError: Errno::ECONNRES…
用octopress 官方的video tag 可以添加视频,但是由于国内经常使用的是youku,所以下面是如何添加youku视频到octopress的教程. 首先添加youku.rb文件到路径:octopress/plugins/ class Youku < Liquid::Tag def initialize(tagName, markup, tokens) super @params = markup.split(" ") @id = @params[] @width =…