[ 
https://issues.apache.org/jira/browse/SCB-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16455694#comment-16455694
 ] 

ASF GitHub Bot commented on SCB-519:
------------------------------------

WillemJiang closed pull request #72: [SCB-519] Correct chapter 'How to run the 
site locally' of REAME.md
URL: https://github.com/apache/incubator-servicecomb-website/pull/72
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

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 [email protected]: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. 
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> The Website can not be running up according to the chapter "How to run the 
> site locally" of README.md 
> ------------------------------------------------------------------------------------------------------
>
>                 Key: SCB-519
>                 URL: https://issues.apache.org/jira/browse/SCB-519
>             Project: Apache ServiceComb
>          Issue Type: Bug
>          Components: website
>            Reporter: Zhinan Lin
>            Assignee: Zhinan Lin
>            Priority: Major
>
> The Website can not running up if using default version of tools according to 
> the guide of README.md 
>  # Lack of verison of tools
>  # Should be non-root



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to