First install Ruby on your system to get gem package manager: see here
If you use Mac OS X install build essential packages:
sudo xcode-select --install
Now install Jekyll:
sudo gem install ffi -v '1.9.14'
sudo gem install bundler
sudo gem install jekyll
sudo gem install jekyll-coffeescript
sudo git clone https://github.com/diegorodriguesvieira/flags-calculator.git
cd flags-calculator
bundle install
- Open _config.yml
Comment this line:
# baseurl: "/flags-calculator" # production
Uncomment this line:
baseurl: "" # localhost
bundle exec jekyll serve
Then visit the URL: http://127.0.0.1:4000
Enjoy 👍
Thanks @ranisalt for this project! ❤️