Skip to content

advaitchaitanya/jekyll-up

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jekyll Up 🧪

Get up and running with a minimal Jekyll site scaffold

Prerequisites

  1. Ruby, version 2.7.0 or higher
  2. Jekyll Ruby gem
  3. Node.js for npm, version 10.24.1 or higher

Install

  1. Clone or use this template.
gh repo clone advaitchaitanya/jekyll-up
  1. Install Jekyll.
gem install jekyll bundler
  1. Install gems inside the jekyll-up directory.
bundle install
  1. Install npm packages.
npm install

Build, Lint, and Deploy

We use npm scripts for managing the Jekyll build, linting JavaScript, and deploying to GitHub Pages. Jekyll itself takes care of compiling our Sass and minifing both the HTML and CSS files.

Build the site and preview it on a local server.

npm start

Simply build the static assets to _site.

npm run build

Lint main.js using JavaScript Standard Style.

npm run test

Build and deploy _site to the gh-pages branch.

npm run deploy