Setup Jekyll on Windows Machine
Step 1:
Install the required software. Jekyll is a Ruby-based static site generator, so you'll need Ruby installed.
Download Ruby:
Visit Ruby Installer for Windows and download Ruby 3.3.6 version.
Install GIT:
Download GIT using this URL: GIT for Window.
Install Node JS:
Download Node JS using this link: Node JS Download.
Step 2:
Install Jekyll.
- Open a terminal (Git Bash or Command Prompt).
- Run the following command to install Jekyll and Bundler gems:
- Verify the installation:
gem install jekyll bundlerjekyll -vStep 3:
Create a New Jekyll Site.
- Navigate to the directory where you want to create your site:
- Create a new Jekyll site:
- Navigate into the site folder:
cd path/to/your/directoryjekyll new my-sitecd my-siteStep 4:
Build and Serve the Site.
- Install required dependencies:
- Serve the site:
- Open your browser and navigate to Validate New Jekyll Site to view your site.
bundle installbundle exec jekyll serve