..

Hello Blog

Here’s how I set up this blog from scratch.

  1. Create a GitHub repo - Just pick a Jekyll theme you like and push it to a private repository

  2. Connect to Cloudflare Pages - Link your GitHub repo and configure the build settings:

    Build command: bundle exec jekyll build
    Build output: _site
    
  3. Configure DNS at your domain registrar (I used Aliyun) to point to Cloudflare nameservers:

    NS    renan.ns.cloudflare.com
    NS    rihana.ns.cloudflare.com
    
  4. Add a CNAME record in Cloudflare DNS settings

  5. Set up custom domain in Cloudflare Pages (SSL certificate is enabled by default)

  6. That’s it! Now you can edit posts locally and just git push - your blog will automatically deploy and update