Git Product home page Git Product logo

rina_blog's Introduction

rina's blog

1.0 博客已经废弃,最新版本 v2.0 已上线

详情请查看: https://github.com/liuzhenangel/RBlog

Rina's GitHub stats

Rina's GitHub stats

1.0 Demo

项目介绍

Rina_Blog 项目是一个 Rails 项目, 前端框架用的 bootstrap, 主要功能有: 后台管理, 订阅, 相册, Markdown 在线编辑预览, 个人简历在线编辑, 评论等功能.

核心技术框架

  • Rails
  • bootstrap
  • turbolinks
  • mina
  • carrierwave
  • kaminari

系统依赖

  • Rails 4.2.1

开发环境准备

第一步, 安装项目依赖

$ bundle install

第二步, 启动服务

$ rails s

第三步, 浏览器访问: http://127.0.0.1:3000

结束.

如何发布?

第一步, 配置nginx

先根据项目里的 /config/deploy.rb /config/unicorn/production.rb /config/nigix.conf 文件, 修改其中的配置, 然后将 /config/nigix.conf 文件复制到你的服务器上 nginx 所在目录的 /etc/nginx/conf.d 目录下, 命名为 xxx.conf 的文件. 然后重启 nginx.

第二步, 在服务器上初始化

$ mina init

第三步, 发布

$ mina deploy

学习参考资料

Ruby on Rails 实践: http://rails-practice.com/content/Chapter_1/1.1.html

Ruby on Rails 指南: http://guides.ruby-china.org/caching_with_rails.html

贡献者

  • Rina

LICENSE

MIT

rina_blog's People

Contributors

liuzhenangel avatar windy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.