This is an automated email from the ASF dual-hosted git repository. akm pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/mahout.git
commit fc4a3a615181a04b20f5add58c8d2b2273779085 Author: Krishna Dave <[email protected]> AuthorDate: Wed Apr 9 20:42:30 2025 +0530 Added the documentation to setup the Project Locally (#530) * Update Gemfile Added a few extra lines in the Gemfile so that it doesn't trouble users who have older Ruby versions to setup the website locally. * Update Gemfile * Update README.md Added the steps to setup the project locally. --- website/README.md | 40 ++++++++++++++++++++++++++++++++++------ 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/website/README.md b/website/README.md index 1ac3be49d..51cebbd23 100644 --- a/website/README.md +++ b/website/README.md @@ -15,13 +15,41 @@ limitations under the License. --> - - - - - - + # The below are the steps to Setup the Apache Mahout Project Locally. +# 1.Clone the repository +```bash +git clone https://github.com/username/mahout.git +cd mahout +``` +Replace username with your github username. + + ## 2. Install Jekyll Locally + ### A. Prerequisites + - Ruby Version 2.7.0 or higher + - RubyGems + - GCC and Make +## After installing the above pre-requisites, run the following in Terminal +```terminal +gem install jekyll bundler +``` +## Once the jekyll is installed, navigate to the website folder of the mahout folder that is cloned in your system + +``` +cd website +``` +## Run the following command while in website directory +``` +bundle exec jekyll serve +``` +### After running this, you would see the project locally setup at http://localhost:4000/ + +### Note: If you find any errors running the above command, make sure that jekyll is upto date and ruby is installed on your system + +## To install ruby in your system, run the following command in terminal +``` +brew install ruby +```
