Chinese translation of Rails Guides
HTML Ruby CSS JavaScript
Switch branches/tags
Nothing to show
Clone or download
chloerei Merge pull request #92 from AndorChen/5.1.2
译稿升级到 Rails 5.1.2
Latest commit 25df24f Jul 8, 2017
Permalink
Failed to load latest commit information.
assets Replace rails guides source to v5.0.1 Feb 22, 2017
bug_report_templates Replace rails guides source to v5.0.1 Feb 22, 2017
rails_guides Update to Rails 5.1.1 May 25, 2017
source Upgrade manuscript to Rails 5.1.2 Jul 8, 2017
.gitignore Edit Dockerfile, use Gemfile Feb 26, 2017
CHANGELOG.md Update to Rails 5.1.1 May 25, 2017
Dockerfile fix generate encoding May 31, 2017
Gemfile Update to Rails 5.1.1 May 25, 2017
Gemfile.lock Update to Rails 5.1.1 May 25, 2017
README.md fix readme Mar 4, 2017
Rakefile
rails_guides.rb Update to Rails 5.1.1 May 25, 2017
w3c_validator.rb Update to Rails 5.1.1 May 25, 2017

README.md

Rails Guide 中文翻译

构建(基于 Docker)

为了管理依赖,建议使用 Docker。

安装 Docker

https://www.docker.com/

构建镜像

$ docker build -t rails-guides .

构建

$ docker run -it -v $(pwd):/app rails-guides rake guides:generate:html
$ docker run -it -v $(pwd):/app rails-guides rake guides:generate:kindle

发布

另外 clone 一份 repo,checkout 到 gh-pages 分支,将 HTML 版内容拷贝进去,commit,push。

Kindle 版通过 GitHub Release 发布。