How to get a cloned github pages repo to run locally

If I clone a GitHub Pages repository from GitHub, what would be the steps I would have to take to run the repo with bundle exec jekyll serve?

nvm i fixed it myself. I just had to create a Gemfile and put

source ""

gem "github-pages", group: :jekyll_plugins

then run bundle install.