Good First Issues Site
Simple webpage that shows a list of issues within the polyphony org tagged with "Good First Issue".
Development
Ensure that Node.js and pnpm are installed, or activate the Nix development shell with direnv or by running nix develop. Then, to start the development server:
pnpm i
pnpm dev
Building
Simply run nix build to produce a production build. The build will output a Node.js server with SSR enabled. Alternatively, you can run pnpm build to run the build without Nix, and get a production build output to dist/.
You can also build a Docker container that runs the server by running nix build .#container. From there, load the built container into Docker with ./result | docker load, and start a container with docker run --rm -it -p 4321 good-first-issues:latest. By default, the cache directory will be in /cache in the container. If you want to persist it to the host, you can mount a volume there, eg. -v /var/cache/good-first-issues:/cache.
Running
Start the production server with node dist/server/entry.mjs. You'll also need to ensure that the CACHE_DIRECTORY environment variable is set to a writable location, as this is where the temporary API request cache will be written to.