From 1e518e7a10ea11d6ed58f50ab533d7914f48a968 Mon Sep 17 00:00:00 2001 From: rohitrajhans Date: Wed, 6 Jun 2018 20:55:40 +0530 Subject: [PATCH] Update Readme.md --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 680da44..85a50ad 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,26 @@ # BITS-ACM Tech Blog: * Made with Jekyll and Markdown * Link: https://bitsacm.github.io + +#### Local Development + + 1. Pre-requisites - Ruby (version 2.5 or above) and RubyGems + ``` + sudo apt-get install ruby ruby-dev build-essential + echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc + echo 'export GEM_HOME=$HOME/gems' >> ~/.bashrc + echo 'export PATH=$HOME/gems/bin:$PATH' >> ~/.bashrc + source ~/.bashrc + ``` + 2. Install Jekyll + ``` + gem install jekyll bundler + ``` + 3. Build and Run on local server to test changes + ``` + bundle exec jekyll serve + ``` + Further Links + - [Jekyll Quick Start Guide](https://jekyllrb.com/docs/quickstart/) + - Complete guide for [Ubuntu](https://jekyllrb.com/docs/installation/#ubuntu) and [macOS](https://jekyllrb.com/docs/installation/#macOS) + - How to setup on [Windows](https://jekyllrb.com/docs/windows/)