Skip to content

dancer1325/expressjs.com

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

expressjs.com

  • goal
    • repository of the website expressjs.com -- hosted on -- github-pages

How to run this website locally?

-- via -- Ruby gem

  1. install Ruby and Bundler
  2. gem install jekyll-redirect-from
  3. bundle install
    • Bundler will look in the Gemfile for which gems to install.
    • The github-pages gem 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.
  4. bundle exec jekyll serve
  5. | your browser, open "http://localhost:4000"

-- via -- Docker

  1. install Docker & Make
  2. make build
  3. make serve
    • serve the project / include live reloading
  4. make clean
    • remove the generated docker images & resources

Formatting

  • Kramdown
    • == variant of Markdown
    • -- used by -- Jekyll
    • you can use GFM
      • Example:
        var express = require('express')
        var app = express()
        app.listen(3000)
        -- transformed to --
        const express = require('express')
        const app = express()
        app.listen(3000)
        
  • Liquid template engine
    • -- used by -- Jekyll

Why to use Jekyll?

  • ALTERNATIVE to Express-based solution
  • 👀Jekyll -- comes built-in with -- GitHub Pages 👀

About

The Express.js Website

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 40.6%
  • HTML 30.9%
  • JavaScript 26.4%
  • Makefile 1.0%
  • Dockerfile 0.7%
  • Pug 0.3%
  • Ruby 0.1%