Skip to content
Permalink
Browse files
Merge pull request #25 from tanzhongyi003/master
tested on MacOS, so update these tools' version number
  • Loading branch information
tanzhongyi003 committed Jun 29, 2020
2 parents 8485dc4 + ebc5fa5 commit 9df92c5ceb0a5801e89dd4f70a3c657c810bc83f
Showing 1 changed file with 9 additions and 7 deletions.
@@ -1,5 +1,5 @@
# brpc Website
The Web Site of brpc (http://brpc.apache.org) is using the apache template from [Apache Website Template](https://github.com/apache/apache-website-template).
The Website of brpc (http://brpc.apache.org) is using the apache.org template from [Apache Website Template](https://github.com/apache/apache-website-template).

# Note for PR
As this website is using the [gitpubsub](https://www.apache.org/dev/project-site.html) and we use Jekyll to generate the site.
@@ -10,6 +10,8 @@ Please sent your PR to the master branch instead of asf-site.

* Install [Ruby](https://www.ruby-lang.org/en/downloads/) and [Gem](https://rubygems.org/)

`brew install ruby`

* Install Jekyll and Bundler

`sudo gem install jekyll bundler github-pages`
@@ -32,14 +34,14 @@ Please sent your PR to the master branch instead of asf-site.


# How to contribute
* Checkout the master branch to get the source, run locally
* Checkout the master branch to get the source, run locally to generate html content
* Modify and create pull request as usual
* Switch to asf-site branch, copy the generated html from master branch(it is under target directory), then create pull request for asf-site branch.
* Switch to asf-site branch, copy the generated html content from master branch( They are under target directory), then create pull request for asf-site branch.
* Wait for brpc.apache.org auto deploy works


**Note that tested versions of the tools covered in this section are as following,**
(I tested it on Ubuntu)
* Ruby 2.5
* Gem 2.7
* Bundler 2.0
(I tested it on MacOS)
* Ruby 2.6.3p62
* Gem 3.0.3
* Bundler 2.1.4

0 comments on commit 9df92c5

Please sign in to comment.