Skip to content

Latest commit

 

History

History
43 lines (38 loc) · 1.93 KB

README.md

File metadata and controls

43 lines (38 loc) · 1.93 KB

general

Default there defined here, and it reffer to jekyll-theme-primer(0.5.4): https://github.com/pages-themes/primer

running locally with the same env

Prerequirements:

  • ruby v3:
    • install rvm: curl -sSL https://get.rvm.io | bash -s stable
    • install compatible ruby as ubuntu22.04 have only opensslv3: rvm pkg install openssl
    • install selected ruby: rvm install 3.0.0 --with-openssl-dir=$HOME/.rvm/usr
    • use it as default: rvm use 3.0.0 --default
  • Bundler :
    • gem install bundler
    • made available: should be already there, but in case: echo "export PATH=\"\$PATH:\$HOME/.rvm/bin\"" >> ~/.bashrc
      • echo "export PATH=\"\$PATH:\$HOME/.rvm/gems/default/bin\"" >> ~/.bashrc
      • echo "export PATH=\"\$PATH:\$HOME/.rvm/rubies/default/bin\"" >> ~/.bashrc
  • Bundler
  1. Create Gemfile.
  2. run bundle install for installing all dependencies
  3. ruby v3 dependency: bundle add webrick
  4. run locally with: bundle exec jekyll serve --drafts
  5. http://localhost:4000/ is your friend

dev help