杜郎俊赏 - dujun.io

开源实例之Octopress

前言

Octopress is an obsessively designed framework for Jekyll blogging. It’s easy to configure and easy to deploy.

Octopress 是基于 Jekyll 实现的静态博客生成工具,它极大简化了 Jekyll 搭建博客的操作。

实例地址

http://octopress.dujun.eu.org

实例配置

配置描述
系统Debian
开发环境服务端Ruby 2.7
服务器Nginx
程序Octopress 3.0

实例部署

权限要求

  • 具有系统读写权限
  • 已安装 Ruby
  • 已安装 Nginx

安装程序

官网地址:http://octopress.org
仓库地址:https://github.com/imathis/octopress

#克隆代码
git clone git://github.com/imathis/octopress.git octopress
cd octopress

#安装依赖
gem install bundler
bundle install

#安装默认主题
bundle exec rake install

#写文章
bundle exec rake new_post["滕王阁序"]

#生成静态文件
bundle exec rake generate

实例体验

首页

文章

进入实例深度体验

后记

本实例仅供参考,不定期重置数据。

体验更多开源实例

标签: 开源实例 个人实例 静态博客实例 Ruby实例
日期:2023-06-06