Skip to content

hashbite/consent-manager-examples

Repository files navigation

Consent Manager Examples

Find out more about about consent-manager in the docs: https://hashbite.github.io/consent-manager/

Parcel 2.0

https://consent-manager-example-parcel.netlify.app

Netlify Status

Create React App

https://consent-manager-example-create-react-app.netlify.app

Netlify Status

GatsbyJS

https://consent-manager-example-gatsby.netlify.app/

Netlify Status

NextJS

https://consent-manager-example-nextjs.netlify.app

Netlify Status

Development / Usage

Using the local registry

Fresh Build

docker-compose up --build

Remove old packages (aka reset volumes)

docker-compose down --volumes

Generate a new user default user httpasswd

htpasswd -c conf/httpasswd consent-manager-bot
# You'll be prompted to set a password

Publish lerna packages to local registry

Run this in consent-manager repo.

npx lerna publish --registry http://localhost:4873 --yes --force-publish='*' --no-git-tag-version --no-commit-hooks --no-push --exact --dist-tag=latest

Install local package

First install all except local.

yarn add @consent-manager/core --registry http://localhost:4873

Use local registry as default

Crate .yarnrc

registry "http://localhost:4873"