Skip to content

Model-Based-Data-Protection-Assessments/GDPR-Editor

Repository files navigation

GDPR WebEditor

Setup

To set up the project locally you need to have Node.js installed. Then run the following commands to clone the repository and install the dependencies:

git clone https://github.com/Model-Based-Data-Protection-Assessments/GDPR-Editor.git
cd WebEditor
npm install

Installing dependencies must be done after each change to the dependency section in package.json. Therefore, running npm install might be necessary after pulling changes from the repository.

Running locally

To run the project locally for testing or development run the following command:

npm run dev

This will start a local web server. To visit the page either open the URL shown in the console or press o in the console.

Building for production

To build the project for production run the following command:

npm run build

This will create a dist folder containing the built static assets. The contents of this folder can be uploaded to a web server to host the project.

This project is built using GitHub Actions and the current built version is hosted on GitHub Pages that can be found here.

Developing

When you want to develop on this project, it is advised to read the technical documentation to understand the structure of the project, why things are done the way they are and how the different modules are structured and interact with each other.