Skip to content

gemc/home

Repository files navigation

Run from 'home' directory:

bundle exec jekyll serve

Run Periodically:

(put all these in a single script please)

./scripts/periodic.sh

Asciinema recording:

Remember to load the environment .

./asciinema-rec_script script_name.sh

asciinema upload script_name.sh.cast

then login into asciinema.org to get the embed the player - add

data-autoplay="true" data-loop="true"

when needed.

To install jekyll:

It can be done with ruby. The ruby-install ruby can be skipped, can use brew to overwrite the old system version, for example

brew install [email protected]
brewDir=$(brew --prefix)
if [ -d $brewDir ]; then
	export PATH=$brewDir/opt/[email protected]/bin:$PATH
fi
brew install chruby ruby-install  
(sudo) gem install jekyll


Gist:

https://gist.github.com

GH-PAGES

https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll

Remember to use the exact dependencies that are used on GitHub:

https://pages.github.com/versions/

Also remember to match the Gemfile plugins into the _config.yml

Create a new site:

Follow the jekyll tutorial.

At the editing the Gemfile step, add

gem "github-pages", "~> 227", group: :jekyll_plugins

check the dependency versions

May need to add webrick

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published