TL;DR: This site depends on data which is updated by a Github Action overnight.
Assuming you have a working deno environment, the task deno task daily will prepare the site for build.
For running the local version you probably want deno task dev.
- Ensure that you can run
ssh git@github.comsuccessfully. If not, follow instructions to Add a new SSH key to your GitHub account. - Install Deno, Python and Pipenv for your platform
- Run
pipenv install
Prepare the build using this - probably once a day.
- Run
git pull --rebase - Run
pipenv shell
If you want to run the pipelines for any reason (maybe having changed some of the code), run the following:
- Run
deno task data:pull - Run
deno task data:pipeline
The dev site is built from the main branch, but generates all pages with
draft: true set. To build and serve the dev site, run
deno task devMake sure you've installed all the required libraries
pipenv sync
If you experience errors such as
[ERROR] Could not resolve "d3-zoom" [plugin deno-loader]
run deno install to make sure Deno installs various dependencies. If that doesn't work, try editing deno.jsonc and change "nodeModulesDir": "manual" to "nodeModulesDir": "auto".