First, cd into the project folder. Then run the following commands
bundle install
jekyll build
bundle exec jekyll serve