beeldengeluid / data.beeldengeluid.nl

data.beeldengeluid.nl website
https://data.beeldengeluid.nl
0 stars 0 forks source link

B&G Data Website

These are the sources for the B&G Data Website, including the content (md) and website (nuxt/vue).

Prerequisites

If you use nvm to manage different Node versions, running nvm use will activate the required version through .nvmrc.

Ingredients

Frontend:

Content Management:

LOD DataCatalog:

Development Setup

The following commands require Node.js and NPM (ships with Node) to be installed globally.

NB: we've switched from Yarn to NPM after encountering issues with dependabot updates.

# install dependencies
npm install

# start the development server
npm run dev

other commands, which might come in handy as needed

# fetching latest datacatalog in JSON-LD format
npm run fetch

# generate static project
npm run generate

# build app for production
npm run build

# locally preview production build
npm run preview

For detailed explanation on how things work, the Nuxt docs are a good starting point.

Development Process

We branch from main to work on changes to the website. Use the steps under Development Setup to work on your changes locally. To share your changes with others, create a draft pull request on GitHub. This deploys your branch through Vercel for Github to a new environment, and posts a shareable preview URL to the pull request. If your changes are ready to be released, set the pull request to 'ready for review' and ask someone for a code review. After review, the change is deployed by merging to main.

Further docs: