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.
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.
- Ensure pre-requisites are installed
- Clone repository
- Change to daprdocs directory:
cd daprblog
- Add Docsy submodule:
git submodule add https://github.com/google/docsy.git themes/docsy
- Update submodules:
git submodule update --init --recursive
- Install npm packages:
npm install
- Make sure you're still in the daprblog directory
- Run
hugo server --disableFastRender
- Navigate to
http://localhost:1313/posts
- Create new branch
- Commit and push changes to content
- Submit pull request to
master
- Staging site will automatically get created and linked to PR to review and test