How to run blog on a windows machine:
wsl -> (if not added earlier) add aliases alias startblog='rsync -avh --delete /mnt/c/Users/kosel/dev/github/nikitakoselev.github.io/ ~/blog/ && cd ~/blog && bundle exec jekyll serve' alias syncblog='rsync -avh --delete /mnt/c/Users/kosel/dev/github/nikitakoselev.github.io/ ~/blog/' -> startblog
=======
This repository contains the source code for the Tech Edge Intrapreneur blog powered by Jekyll and GitHub Pages.
The recommended way to run the site locally on a Windows machine is to use the Windows Subsystem for Linux (WSL).
- Install WSL and a Linux distribution (Ubuntu is recommended).
- Install Ruby and Bundler:
sudo apt update sudo apt install ruby-full build-essential zlib1g-dev gem install bundler
- Clone the repository and enter it:
git clone https://github.com/nikitakoselev/nikitakoselev.github.io.git cd nikitakoselev.github.io
- Install dependencies into a local path to keep them isolated:
bundle install --path vendor/bundle
- Build and serve the site:
bundle exec jekyll serve
- Open http://localhost:4000 in your browser to view the blog.
The site will rebuild automatically as you edit files.
For other Windows setups, you can use RubyInstaller and run the same bundle
and jekyll
commands in a command prompt with Ruby available.
Creative Commons Attribution-NonCommercial 4.0 International