Skip to content

dapr/blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dapr Blog Repo

This repo contains the markdown files which generate the Dapr blog site over at https://blog.dapr.io. Head over there to read the blog and get learn more about the latest Dapr news! Read on to get up and running with a local environment to contribute to the blog.

Overview

The Dapr blog is built using Hugo with the Docsy theme, hosted on an Azure static web app.

The daprblog directory contains the hugo project, markdown files, and theme configurations.

Pre-requisites

Environment setup

  1. Ensure pre-requisites are installed
  2. Clone repository
  3. Change to daprdocs directory: cd daprblog
  4. Add Docsy submodule: git submodule add https://github.com/google/docsy.git themes/docsy
  5. Update submodules: git submodule update --init --recursive
  6. Install npm packages: npm install

Run local server

  1. Make sure you're still in the daprblog directory
  2. Run hugo server --disableFastRender
  3. Navigate to http://localhost:1313/posts

Update blog

  1. Create new branch
  2. Commit and push changes to content
  3. Submit pull request to master
  4. Staging site will automatically get created and linked to PR to review and test