Skip to content

About

Official TODO Website that contains TODO Guides, OSPO use cases and more resources to advance in the OSPO journey

Topics

Resources

Code of conduct

Contributing

Stars

284 stars

Watchers

95 watching

Forks

Repository files navigation

Netlify Status License: CC BY 4.0 Site

The TODO Group website

The TODO Group website serves as the central hub for our community, hosting resources, blog content, guides, and information about OSPOs (Open Source Program Offices). All contributions should align with our mission to provide vendor-neutral, practical resources that help organizations run effective open source programs.

Contributing

Please read our contributing guidelines to get started

Development Setup

This site is built using the Hugo static site generator and hosted on Netlify. The site uses the Dot-Org Theme for Hugo as a base and then has its own customisations.

To build or locally develop the website, you need git and Node.js 22, the version Netlify uses in production.

You don't need to install Hugo yourself. npm install installs Hugo extended 0.126.x through the hugo-extended npm package, and the npm scripts use it.

If you don't have Node.js installed, you can install it with brew.sh on macOS:

brew install node

Then follow these instructions:

  1. Fork this repo, then clone your fork to a local directory on your computer.

  2. Go to the new directory and pull in the theme:

git submodule update --init --recursive
  1. Install dependencies:
npm install
  1. Start the local server with live reload:
npm run start

Then open http://localhost:1313. The local server also shows drafts and posts with a future date.

To check a full build, run:

npm run build

Other npm commands for working with a local instance

  • npm run dev:start - Same as npm run start
  • npm run dev:start:with-pagefind - Builds the site and the Pagefind search index, then starts the local server, so site search works locally
  • npm run dev:build - Same as npm run build
  • npm run sync:events - Refreshes data/ocg_events.json, the OSPOlogy events and meetups listed on /community/events/, from TODO Group on OCG. Which tab each OCG group appears under is set in data/ocg_groups.json. Official events that are not on OCG go in data/ospology_events.json.

Netlify builds

Netlify builds production with make production-build and deploy previews with make preview-build. See netlify.toml and the Makefile. make serve is another way to start a local server, but it uses the Hugo installed on your system, not the one from npm.

To run in docker

As mentioned above, fork and clone this repository, run git submodule update --init --recursive, then run following:

./run-hugo-in-docker.sh

This command should give an address you can visit on your local machine to see the local copy of your site. Typically this is localhost:1313. Just navigate to http://localhost:1313 in your browser and you should see the site running.

If modifying the theme files, you should never edit the theme that is imported via Git Submodule, as otherwise the changes will be overwritten or lost the next time the theme is updated. Changes should be made in override files inside the root directory as this will override the theme directory. Read docs.

Updating the theme

Some brief notes on how to update the theme:

From the site root:

git submodule init
git submodule update
cd themes/dot-org-hugo-theme
git fetch
git checkout main
git pull origin main
cd ../..
git add themes/dot-org-hugo-theme
git commit -m "Updated submodule to the latest version of dot-org-hugo-theme" -s

About

Official TODO Website that contains TODO Guides, OSPO use cases and more resources to advance in the OSPO journey

Topics

Resources

Code of conduct

Contributing

Stars

284 stars

Watchers

95 watching

Forks

Releases

Packages

Used by

Contributors

Languages