npm.io
6.0.3 • Published 5d ago

@eeacms/volto-sentry-rancher-config

Licence
MIT
Version
6.0.3
Deps
0
Size
46 kB
Vulns
0
Weekly
199

volto-sentry-rancher-config

Releases

Pipeline Lines of Code Coverage Bugs Duplicated Lines (%)

Pipeline Lines of Code Coverage Bugs Duplicated Lines (%)

Volto add-on to auto-configure Sentry from Rancher metadata

Features

  1. Auto-extract Sentry options (tags, environment, etc.) from Rancher Metadata

Deploying with Docker/Rancher

Getting started

Try volto-sentry-rancher-config with Docker
  git clone https://github.com/eea/volto-sentry-rancher-config.git
  cd volto-sentry-rancher-config
  make
  make start

Go to http://localhost:3000

make start now defaults to Volto 18. To run the same setup against Volto 17, use:

  VOLTO_VERSION=17 make
  VOLTO_VERSION=17 make start
Add volto-sentry-rancher-config to your Volto project
  1. Make sure you have a Plone backend up-and-running at http://localhost:8080/Plone

    docker compose up backend
  2. Start Volto frontend

  • If you already have a volto project, just update package.json:

    "dependencies": {
        "@eeacms/volto-sentry-rancher-config": "*"
    }

    and volto.config.js:

    const addons = ['@eeacms/volto-sentry-rancher-config'];
  • If not, create one with Cookieplone, as recommended by the official Plone documentation for Volto 18+:

    uvx cookieplone project
    cd project-title
  1. Install or update dependencies, then start the project:

    make install

    For a Cookieplone project, start the backend and frontend in separate terminals:

    make backend-start
    make frontend-start

    For a legacy Volto 17 project, install the package with yarn and restart the frontend as usual.

  2. Go to http://localhost:3000

  3. Happy editing!

Release

See RELEASE.md.

How to contribute

See DEVELOP.md.

The Initial Owner of the Original Code is European Environment Agency (EEA). All Rights Reserved.

See LICENSE.md for details.

Funding

European Environment Agency (EU)

Keywords