An index of useful resources for people interested in Linked Data in Norway
It uses Poetry to handle dependencies:
poetry install
poetry run python api/index.py
You can also use vercel dev by installing the Vercel CLI. This allows you to more
easily debug the integration with Vercel.
Vercel handles the building necessary for the various resources. (For this reason, you need to remember to update both pyproject.toml and requirements.txt when changing dependencies.)
This is a handy command to export dependencies from Poetry to requirements.txt:
poetry export -f requirements.txt --output requirements.txt
You can also test the build by running locally using uv instead:
uv run api/index.py