Skip to content
← Back to Community
Is there a way to install Jekyll for Github Pages?
Profile icon
zachdyer

I would like to run Jekyll to preview my Github Pages website. Is there a way I can install Jekyll and preview it using jekyll serve?

Voters
Profile icon
ThomasKalka
Profile icon
tallneil
Profile icon
zachdyer
Comments
hotnewtop
Profile icon
ThomasKalka

Did anyone succeed using jekyll on repl.it?

Profile icon
a5rocks

Maybe using the console to install jekyll (f1 then search "shell")?

Or maybe add the jekyll ruby gem as a dependency...

Profile icon
zachdyer

@a5rocks
Can you install it using gem install jekyll? When I tried it, it said I didn't have permission for the gems directory.

Profile icon
a5rocks

@zachdyer
You could probably make a ruby repl, then use UPM (the little 3d box in the left) to install jekyll, and add a .replit file with run="jekyll serve"...

I'll make an example you can fork:
In progress

Profile icon
zachdyer

@a5rocks
Thanks, bra!

Profile icon
DarrenJansen

@a5rocks
Hey, sorry, I'm new to repl.it. What is UPM? Is it an icon on the repl.it interface? Maybe I'll see the answer to my question after you finish your example...

I'm also trying to run Jekyll on repl.it.

Profile icon
EmilySeville7cfg

I know that post is very old but I've created Jekyll template for Repl.it. Site is stored in docs folder.

Profile icon
jeffhow

I got Jekyll running by creating a Gemfile, then adding this to the .replit:

language = "ruby" run = "bundle exec jekyll serve --host=0.0.0.0"