/ka-sarthak.github.io

Personal website developed with Jekyll

Primary LanguageHTMLMIT LicenseMIT

Some helpful comments

Personal website is a great way to showcase your interests, work, and your creativity, all in one place. To do so for yourself is fairly simple. Use this jekyll-based template-cum-website as a starting point for your own website and host it on GitHub pages for free.

You might find the following steps helpful to fork this repo and start adding your stuff to it. Much of these steps are inspired from here.

Necessary installations for macOS

  1. Installing Brew - brew comes handy to install packages in MacOS. Use it to install a bunch of following packges.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. Installing Ruby - chruby is light-weight a version-management package for Ruby. ruby-install allows you to compile and install different versions of Ruby. Finally we use ruby-install to install the latest version of Ruby.
brew install chruby ruby-install
ruby-install ruby  
  1. Next, configure your shell to automatically use chruby. This allows the system to use the version of Ruby currently hosted it.
echo "source $(brew --prefix)/opt/chruby/share/chruby/chruby.sh" >> ~/.zshrc
echo "source $(brew --prefix)/opt/chruby/share/chruby/auto.sh" >> ~/.zshrc
echo "chruby ruby-3.1.2" >> ~/.zshrc
  1. Install Jekyll and Bundler gems
gem install jekyll
gem install jekyll bundler add webrick  

Fork it

  1. Fork this repository (helpful link)

  2. Initialize bundle within the local directory. Then, use bundle to host the website on a local server, so that you can see how it looks while your work on it.

bundle init
bundle exec jekyll serve --livereload

Finally, add your work to the website, commit and push it to your public repository named
<<your-git-username>>.github.io, and GitHub will automatically pick your code to host the website on
https://<<your-git-username>>.github.io.

Voila! You have your website!