DEV Community

Ninan Kara
Ninan Kara

Posted on

1

Creating Github Pages with Jekyll

Intro

The reason I wrote this is because the official documentation didn't work smoothly. Just in case I forgot the step, I decided to write it here for my own documentation.

Step-by-step

  1. Create public repository in Github with following name username.github.io
  2. Clone it to your local repository
  3. Install RubyInstaller , and follow the step till complete
  4. (Optinal) If the installer doesn't automatically run, run following command ridk install
  5. If you are not sure, install no 1 and 3
  6. Install Jekyll by run following command gem install jekyll bundler
  7. Check whether Jekyll is completely installed by run jekyll -v

Jekyll installation complete, now setting the Github pages

  1. Open your local repository
  2. Go up one folder by run cd ..
  3. Run jekyll new username.github.io --force to install jekyll in Github pages
  4. Open Gemfile file
  5. Remove or comment following line gem "jekyll", "~> 4.1.1"
  6. Add following line gem "github-pages", group: :jekyll_plugins
  7. Update the version of other plugins, by referring Github Dependency Documentation . As for me, I updated the version of jekyll-feed version. Save your work.
  8. Go to command prompt and run bundle update following update to command

Configuration done!

  1. Now commit your local repository and push it to Github.
  2. Run your pages.

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more