bundle exec jekyll serve
(put all these in a single script please)
./scripts/periodic.sh
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
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
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