From 8f82371da0c7241dcf7177eb45fb2360455ff145 Mon Sep 17 00:00:00 2001 From: s-peryt <1652033+s-peryt@users.noreply.github.com> Date: Mon, 24 Jun 2024 15:16:14 -0700 Subject: [PATCH 1/2] Add instruction on how to build Jekyll website --- qosf.org/Build_Instructions.md | 61 ++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100755 qosf.org/Build_Instructions.md diff --git a/qosf.org/Build_Instructions.md b/qosf.org/Build_Instructions.md new file mode 100755 index 0000000..0616bce --- /dev/null +++ b/qosf.org/Build_Instructions.md @@ -0,0 +1,61 @@ + +# Build Instructions + +This document provides detailed instructions on how to build and run the Jekyll website from this repository. + +## Prerequisites + +Before you begin, ensure you have the following installed on your system: +- Ruby (2.7 or higher) +- RubyGems +- Bundler + +You can check your Ruby and RubyGems installation by running: + +```bash +ruby -v +gem -v +``` + +If you need to install Ruby, please follow the instructions on the [official Ruby website](https://www.ruby-lang.org/en/documentation/installation/). + +## Setup + +### 1. Clone the Repository + +First, clone the repository to your local machine using the following command: + +```bash +git clone https://github.com/qosf/qosf.org.git +cd qosf.org +``` + +### 2. Install Dependencies + +Install the necessary Ruby gems (including Jekyll) using Bundler: + +```bash +bundle install +``` + +This command reads the `Gemfile` and installs all the required gems. + +## Build the Site + +To build your static site, run: + +```bash +bundle exec jekyll build +``` + +This command generates the static site output in the `_site` directory. + +## Serve the Site Locally + +To serve your website locally and see it in action, run: + +```bash +bundle exec jekyll serve +``` + +This will start a local web server. You can view your website by navigating to `http://localhost:4000` in your web browser. The server will automatically rebuild the site as you make changes to the files. \ No newline at end of file From 82a411c33e6ad44e9834a01ef0eaad5b69ba27e4 Mon Sep 17 00:00:00 2001 From: s-peryt <1652033+s-peryt@users.noreply.github.com> Date: Mon, 24 Jun 2024 20:51:45 -0700 Subject: [PATCH 2/2] Small error fix --- qosf.org/Build_Instructions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qosf.org/Build_Instructions.md b/qosf.org/Build_Instructions.md index 0616bce..3a761c0 100755 --- a/qosf.org/Build_Instructions.md +++ b/qosf.org/Build_Instructions.md @@ -27,7 +27,7 @@ First, clone the repository to your local machine using the following command: ```bash git clone https://github.com/qosf/qosf.org.git -cd qosf.org +cd qosf.org/qosf.org ``` ### 2. Install Dependencies @@ -58,4 +58,4 @@ To serve your website locally and see it in action, run: bundle exec jekyll serve ``` -This will start a local web server. You can view your website by navigating to `http://localhost:4000` in your web browser. The server will automatically rebuild the site as you make changes to the files. \ No newline at end of file +This will start a local web server. You can view your website by navigating to `http://localhost:4000` in your web browser. The server will automatically rebuild the site as you make changes to the files.