brunojppb.github.io

brunojppb.github.io

Personal Blog

bpaulino.com blog

Hi there! Welcome to my digital garden. This website is a collection of some of my experiences.

Install dependencies

This blog is built with Jekyll, a Ruby based static site generator.
Make sure you have Ruby 3.2 installed and run the following commands:

# If bundler is not there yet, execute:
$ gem install bundler
# Now install all dependencies
$ bundle install

Development and Running locally

Once you have all dependencies installed, you can run the local development server with:

# That should kickstart the local dev server
# and make the site available on port 4000 by default for you
jekyll server
# This command should generate an output like this:
Auto-regeneration: enabled for '/the/repo/path/here'
  Server address: http://127.0.0.1:4000
  Server running... press ctrl-c to stop.

Deployment with Cloudflare Pages 🎉

All commits to master will trigger an integration with Cloudflare Pages where we cache and serve these contents under my own domain.

Preview deployments

During development, any pull-request opened from a branch starting with preview- gets deployed to Cloudflare pages automatically and a message gets posted to the PR with the preview URL.