Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Running a github.io site locally [SOLVED]

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Running a github.io site locally [SOLVED]

#1 Post by Scorpion »

I tried to use this site locally with apache2: https://github.com/pippim/pippim.github.io.

If I change index.md to index.html it loads but very bad.
How can I use it locally?
Last edited by Scorpion on 2022-12-04 21:14, edited 1 time in total.

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Running a github.io site locally

#2 Post by Scorpion »

You can run it locally using what gihub pages use jekyll:
  • 1 Clone the repo.
  • 2 Create a Gemfile with this line: "gem "github-pages", group: :jekyll_plugins".
  • 3 Run "bundle install".
  • 4 Run your Jekyll site locally "bundle exec jekyll serve".
  • 5 Connet to http://localhost:4000 instead of http://127.0.0.1:4000/.

Post Reply