Giter Club home page Giter Club logo

Comments (5)

thomasvaeth avatar thomasvaeth commented on August 20, 2024 2

You can sign up with Netlify with your Github account. You can then just link your repo to your account, so Netlify will rebuild whenever you push. It is really easy to set up and they have documentation for all of this.

from barber-jekyll.

DannyDannyDanny avatar DannyDannyDanny commented on August 20, 2024 2

Barely managed to Sign up for Netlify and connect my repository before the whole thing was deployed.

For anyone struggling with deployment:

  • follow the steps in my previous comment
  • Build the Jekyll page with bundler install followed by bundler exec jekyll serve
  • use your GitHub account to sign up to Netlify
    *. when prompted to, choose the repository created earlier: USER.github.io

I hope this helps someone 🤷‍♂

PS. This theme is immensely impressive! 😮

from barber-jekyll.

thomasvaeth avatar thomasvaeth commented on August 20, 2024

Please read the README.

from barber-jekyll.

DannyDannyDanny avatar DannyDannyDanny commented on August 20, 2024

There is no way to launch a user GitHub page without a 3rd party

I've spent the better part of day trying to befriend git and YAML... specifically I'm trying to follow this instruction:

GitHub Pages does not support custom plugins. The tag list and tag pagination are built using custom plugins. There are several options to avoid any errors while deploying to production.

  • Run bundle exec jekyll build ... and manually add the contents of the _site folder to the gh-pages branch.

After spending 2-3 hours neck-deep in StackOverflow git questions, user / organizational Github Pages cannot be setup using the gh-pages-branch.

Could you help me form a guide for setting up via Netlify?

  1. mkdir USER.github.io
  2. cd USER.github.io
  3. git clone https://github.com/samesies/barber-jekyll.git .
  4. bundler install
  5. bundler exec jekyll serve
  6. Make a new repo on GitHub named USER.github.io
  7. git remote set-url origin https://github.com/USER/USER.github.io.git
  8. ???

EDIT: I just realized how far out my comment is. Can this be a separate issue? or is there perhaps an existing guide for this?

from barber-jekyll.

suryagram avatar suryagram commented on August 20, 2024

Highly recommend this approach. One caveat though:
Don't name your git repo USER.github.io. GitHub has special rules for domains that match that format, and it won't allow you to not have a GitHub pages site for that repo. This becomes annoying b/c your netlify page will link to your github pages page, which will give you the GitHub pages 404 error.

Just name your repo anything else, and you'll avoid the nightmare that is Github pages.

from barber-jekyll.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.