How to build

Install rust

You'll install ๐Ÿฆ€ Rust with the ๐Ÿ“ฆ Cargo package manager.

The easiest way is to install both via rustup

On unix/mac:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

On windows, download https://win.rustup.rs/x86_64

Clone repo

Go to the github repo of GDPR and clone the repo.

Or run in a shell

git clone https://github.com/akronym-org/GDPR.git
cd GDPR

Start Directus and use GDPR

You need to have a database with Directus. In case you don't have one handy, ๐Ÿณ Docker suffices.

To start a postgres container with a running Directus instance.

docker compose -f database/docker-compose.yaml up -d

Now, try GDPR.

cargo run -- dump -t thing -f "con*t,id" -o yaml

Build and use GDPR

If you want to build it and simply use it (don't do that yet), run:

cargo build --release

The binary will be in target/release/.