Files
d4c-service-main-site/README.md
T
Diego Ripley 2feca7b2d8 Update README
2026-01-26 08:18:58 -05:00

32 lines
1.1 KiB
Markdown

## Table of Contents
- [About](#about)
- [How to Run Locally](#how-to-run-locally)
- [License](#license)
## About
[![Deploy Hugo site to R2](https://github.com/dataforcanada/www.dataforcanada.org/actions/workflows/deploy_website.yaml/badge.svg)](https://github.com/dataforcanada/www.dataforcanada.org/actions/workflows/deploy_website.yaml)
[![Deploy Worker](https://github.com/dataforcanada/www.dataforcanada.org/actions/workflows/deploy_worker.yaml/badge.svg)](https://github.com/dataforcanada/www.dataforcanada.org/actions/workflows/deploy_worker.yaml)
This repo has the code for my personal website, [www.dataforcanada.org](https://www.dataforcanada.org). The website is generated as a static website with Hugo and is served via a Cloudflare worker that reads a Cloudflare R2 bucket.
## How to Run Locally
```shell
# Clone the repository
git clone git@github.com:dataforcanada/www.dataforcanada.org.git
# Navigate to the project directory
cd www.dataforcanada.org
# In Dev Container
hugo server --bind 0.0.0.0 --bind 0.0.0.0 --disableFastRender --noHTTPCache -p 1313
```
## License
The website and code are distributed under an MIT license.
[Back to top](#top)