You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2018/04/27 03:09:55 UTC
[incubator-servicecomb-website] branch asf-site updated: correct
chapter 'How to run the site locally' of REAME.md (#72)
This is an automated email from the ASF dual-hosted git repository.
ningjiang pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new fbec20d correct chapter 'How to run the site locally' of REAME.md (#72)
fbec20d is described below
commit fbec20d3146e752738872e90242c83db072750ff
Author: Zen Lin <li...@huawei.com>
AuthorDate: Fri Apr 27 11:09:53 2018 +0800
correct chapter 'How to run the site locally' of REAME.md (#72)
Signed-off-by: linzhinan <li...@huawei.com>
---
README.md | 28 ++++++++++++++++++----------
1 file changed, 18 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
index 0bea954..0cf7617 100644
--- a/README.md
+++ b/README.md
@@ -1,29 +1,37 @@
# ServiceComb Website
The Web Site of ServiceComb is based on [Minimal Mistakes Jekyll Theme](https://mmistakes.github.io/minimal-mistakes/).
-# How to run the site locally
-* Install [Ruby](https://www.ruby-lang.org/en/downloads/) and [Gem](https://rubygems.org/)
-
-* Install Jekyll and Bundler
-
- `gem install jekyll bundler`
+# How to run the site locally
+* Change to non-root user
+
+* Install [Ruby](https://www.ruby-lang.org/en/downloads/) and [Gem](https://rubygems.org/)
+
+* Install Jekyll and Bundler
+
+ `sudo gem install jekyll bundler`
* Clone the site files
- `git clone git@github.com:ServiceComb/ServiceComb.github.io.git`
+ `git clone https://github.com/apache/incubator-servicecomb-website.git`
* cd ServiceComb.github.io.git
* Install the gems with bundle
- `bundle install`
+ `sudo bundle install`
* Start the jekyll server
- `bundle exec jekyll server`
+ `sudo bundle exec jekyll server`
* Start web browser to access `http://localhost:4000`
-
+
+**Note that tested versions of the tools covered in this section are as following,**
+
+* Ruby 2.3
+* Gem 2.7.6
+* Bundler 2.3
+
# Multiple language support
The website supports English now and English is used as the default language.
--
To stop receiving notification emails like this one, please contact
ningjiang@apache.org.