Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

GetOutOfMyBakery/getoutofmybakery.github.io

Repository files navigation

A scratchpad Jekyll blog for my personal GitHub account.

Up and Running

  1. Checkout this repo:gh repo clone GetOutOfMyBakery/getoutofmybakery.github.io
  2. Update the variables in.envrc
  3. Run:bin/setup
  4. Run:bin/dev
  5. The blog is now locally hosted at:127.0.0.1:4000orlocalhost:4000

Important

bin/qr-code displays a QR Code that can be used by a mobile device. The supplied IP address therefore needs to be something that can be routed, e.g.:

  • local address:192.168.#.#
  • hostname:my-laptop.home.arpa

Creating and managing posts

With the help ofjekyll-compose, creating and managing posts is easy:

bundleexec jekyll post"My new post"bundleexec jekyll draft"My new draft"bundleexec jekyllhelp# Show the list of commands available to jekyll

See thejekyll-composeUsage section for more.

Updating the theme

Check out thejekyll-theme-chirpywiki.

You can also examine the latest version of the gem with:

bundle open jekyll-theme-chirpy

Important

In order to maintain theSkip to main content button, and some other minor tweaks, usebin/diff-upstream-gem to check for any relevant upstream changes that need to be merged in/resolved when updating versions.For ease of use remember thatbin/diff-upstream-gem can pass inchars orwords to the script to see just the different characters or words respectively.

Check how production will look before deploying with:JEKYLL_ENV=production bin/dev.

Making a commit

Lefthook has been configured with pre-commit checks to:

  • runactionlint for the.github/workflows
  • runhtmlproofer on the generated site
  • runshellcheck on any shell or bash scripts
  • alphabatise the user dictionary

Disablelefthook with:LEFTHOOK=0 git commit.

Deploying changes

Simply merge tomain and thepages-deploy workflow will handle the building and deploying toGitHub Pages.
The site is currently hostedhere.


[8]ページ先頭

©2009-2025 Movatter.jp