Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

remarkablemark.org

Site of @remarkablemark. Built with Jekyll and hosted on GitHub Pages.

Any support is welcome!

Prerequisites

Ruby 2.6.0:

$ ruby --version

If your version is behind, you can either install ruby with rbenv or RVM.

To install and set up rbenv on macOS:

$ brew install rbenv
$ rbenv init
# restart or open a new shell
$ curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor | bash
$ rbenv install 2.6.0
$ rbenv local 2.6.0

Bundler:

$ gem install bundler
$ bundler --version

Installation

Clone repository:

$ git clone --recursive https://github.com/remarkablemark/remarkablemark.github.io.git
$ cd $_

Install dependencies:

$ bundle install

Update

Update dependencies:

$ git checkout master
$ git pull
$ bundle update

Run

Development Server

$ bundle exec jekyll serve --livereload # --incremental --limit_posts 1

The server will be running at http://127.0.0.1:4000/:

$ open http://127.0.0.1:4000/

Press CTRL-C to stop the server.

Production Build

$ bundle exec jekyll build

The site will be generated at ./_site/.

Testing

Use HTMLProofer to validate HTML output (see post):

$ bundle exec jekyll build
$ bundle exec htmlproofer _site

Support

Support me here:

Check out my merch:

License

Copyright © Menglin "Mark" Xu.

You can’t perform that action at this time.