- Production website (
Main
Branch): https://www.al-ehsaan.org
We are using Jekyll framework for the website. This section notes how to use Jekyll and the directory stucture used for development.
The easiest way to install Ruby and Jekyll is by using the RubyInstaller for Windows.
RubyInstaller is a self-contained Windows-based installer that includes the Ruby language, an execution environment, important documentation, and more.
This guide only covers the installation of RubyInstaller-2.4 and newer here.
- Download and install a Ruby+Devkit version from RubyInstaller Downloads. Use default options for installation.
- Run the
ridk install
step on the last stage of the installation wizard. This is needed for installing gems with native extensions. You can find additional information regarding this in the RubyInstaller Documentation. From the options chooseMSYS2 and MINGW development tool chain
. - Open a new command prompt window from the start menu, so that changes to the
PATH
environment variable becomes effective. Install Jekyll and Bundler using the following command:
gem install jekyll bundler
- Check if Jekyll has been installed properly:
jekyll -v
|--- assets
| |--- css : Cascading Style Sheets
| |--- images : Images
| |--- js : Javascripts
| \--- pdf : Documents
|
|--- _data
| |--- top-navigation.yml : Manages Top Navigation Menu
| \--- class-robotics-2022.yml : Example of photo and video file with type used in _posts
|--- _includes
|--- _layouts
|--- _plugins
|--- _posts
\--- .github
|--- config
|--- ISSUE_TEMPLATE
\--- workflows
git clone https://github.com/zalam003/al-ehsaan.git
cd al-ehsaan
jekyll build
jekyll serve
- Create new brach from
main
- Naming convention for branch: issueNumber-devInitial-shortDescriptionOfIssue
- Push changes to new feature branch
- Open Pull Request (PR)
- Post PR for review
- Once approved Merge to
main
branch - Open
merge issueNumber-devInitial-shortDescriptionOfIssue into main
PR - Merge PR