Step-by-Step Github/Jekyll Project
May 19, 2020After having a hard time finding a comprehensive and up-to-date guide on integrating Github and Jekyll for project sites, I decided to create my own.
These instructions are for Windows users who already have Jekyll (either v3.8 or v4) and Node.js (v.12.16) installed.
- On the Github website, create a new repo.
- Open Command Prompt at your parent folder and enter
jekyll _3.8.5_ new <REPO> cdto the newfolder git initbundle exec jekyll serve- Insert
node_modulesto your new.gitignore - Create your folder structure. I personally set up my projects like this:
_data _drafts _includes _js _layouts _libs _sass assets assets/img - Add your
Gruntfile.jsandpackage.json - Add any other pages and assets.
npm installgrunt serve- Use Github Desktop to push your changes.