/glean-dictionary

Public-facing dictionary of Glean (and Glean-derived) metadata

Primary LanguageSvelteMozilla Public License 2.0MPL-2.0

Glean Dictionary

CircleCI

The Glean dictionary aims to provide a comprehensive index of datasets generated inside Mozilla for newer applications using the Glean SDK.

This project is under active development and documentation is presently incomplete. For now, please see the project proposal for more details on the Glean Dictionary's ambitions and goals.

Getting Started

You should be able to create your own local copy of the dictionary so long as you have Python (version 3.8) and node.js installed. Follow these instructions:

# Create and activate a python virtual environment.
python3 -m venv venv/
source venv/bin/activate
pip install -r requirements.txt

# Build data needed by dashboard
./scripts/build-glean-metadata.py

# Install npm dependencies and start a local
# instance of the GUI
npm install
npm run dev

If that worked, you should be able to see a local version of Glean at http://localhost:5000

Storybook

We use Storybook for developing and validating Svelte components used throughout the app. To view the existing list of stories, run:

npm run storybook