- goal
- repository of the website expressjs.com -- hosted on -- github-pages
- install Ruby and Bundler
gem install jekyll-redirect-from- install jekyll-redirect-from -- from -- gem
bundle install- Bundler will look in the Gemfile for which gems to install.
- The
github-pagesgem includes the same version of Jekyll and other dependencies as used by GitHub Pages, so that your local setup mirrors GitHub Pages as closely as possible.
bundle exec jekyll serve- | your browser, open "http://localhost:4000"
- install Docker & Make
make buildmake serve- serve the project / include live reloading
make clean- remove the generated docker images & resources
- Kramdown
- == variant of Markdown
- -- used by -- Jekyll
- you can use GFM
- Example:
-- transformed to --
var express = require('express') var app = express() app.listen(3000)
const express = require('express') const app = express() app.listen(3000)
- Example:
- Liquid template engine
- -- used by -- Jekyll
- ALTERNATIVE to Express-based solution
- 👀Jekyll -- comes built-in with -- GitHub Pages 👀