Skip to content

opatry/opatry.github.io

Repository files navigation

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