/opatry.github.io

Olivier Patry's home page (available at https://opatry.net/ and https://opatry.github.io/)

Primary LanguageCSSApache License 2.0Apache-2.0

Build, test and deploy Status

Olivier Patry

The content is, most of the time, written using [M↓] Markdown and served by nanoc.

This website is available at https://opatry.net using πŸ”₯ Firebase hosting and https://opatry.github.io/ using πŸ“„ GitHub Pages both thanks to πŸ€– GitHub Actions.

πŸ›  Requirements & Initial setup

$ gem install bundler
$ bundle install
$ bundle exec nanoc compile

Debug Ruby code πŸ”Ž πŸ’Ž

See details…

Using Visual Studio Code and ruby-debug-ide, initial setup requires to install binstubs for few binaries:

$ bundle install
$ bundle binstubs bundler nanoc ruby-debug-ide

Then, debug launch configuration should work out of the box in VS Code (put a breakpoint (in Rules#preprocess for example) then press F5).

JavaScript development

$ npm install && npm install --only=dev
$ ./node_modules/.bin/eslint --init