|
| 1 | +# lightdash |
| 2 | + |
| 3 | +lightdash removes the gap between your data transformation layer and your data visualization layer. It enables data analysts and engineers to control all of their business intelligence (data transformations/business logic as well as data visualization) in a single place. |
| 4 | + |
| 5 | +lightdash integrates with your dbt project and gives a framework for defining metrics and specifying joins between models all within your existing dbt YAML files. The data output from your dbt project is then available for exploring and sharing in lightdash. |
| 6 | + |
| 7 | +- No more scattered, duplicated metrics across multiple tools. |
| 8 | +- No more time spent trying to maintain data changes in both dbt and and your data viz tools. |
| 9 | +- No more context lost between your data transformation and your data visualization layer. |
| 10 | + |
| 11 | +## Getting Started |
| 12 | +--- |
| 13 | + |
| 14 | +### Quickstart with docker |
| 15 | + |
| 16 | +The fastest way to get started is to use [docker](https://docs.docker.com/get-docker/) |
| 17 | + |
| 18 | +```shell |
| 19 | +# Clone the lightdash repo |
| 20 | +git clone https://github.com/lightdash/lightdash |
| 21 | + |
| 22 | +# Enter the repo directory |
| 23 | +cd lightdash |
| 24 | + |
| 25 | +# Specify the path to your dbt project |
| 26 | +# (i.e. the directory containing dbt_project.yml) |
| 27 | +# You MUST use the absolute path (i.e no ../../myrepo) |
| 28 | +export DBT_PROJECT_DIR=/Users/myuser/dbtrepo |
| 29 | + |
| 30 | +# Build and launch lightdash |
| 31 | +docker compose up |
| 32 | + |
| 33 | +# Ready on http://localhost:8080 ! |
| 34 | +``` |
| 35 | + |
| 36 | +### Installation from source |
| 37 | + |
| 38 | +lightdash requires node.js and yarn. |
| 39 | + |
| 40 | +**Install dependencies for Mac OS** |
| 41 | +```shell |
| 42 | +# Install node with homebrew |
| 43 | +brew install node |
| 44 | + |
| 45 | +# Install yarn with node package manager |
| 46 | +npm install -g yarn |
| 47 | + |
| 48 | +# Clone the lightdash repo |
| 49 | +git clone https://github.com/lightdash/lightdash |
| 50 | + |
| 51 | +# Enter the repo directory |
| 52 | +cd lightdash |
| 53 | + |
| 54 | +# Install lightdash dependencies and build |
| 55 | +yarn install |
| 56 | +yarn build |
| 57 | +``` |
| 58 | + |
| 59 | +### Adding dimensions, measures, joins, and more to your lightdash project |
| 60 | + |
| 61 | +lightdash's configuration is fully defined in your dbt project. For example, measures and joins sit in your models' .yml files. |
| 62 | + |
| 63 | +Check out our [example_model.yml](https://github.com/lightdash/lightdash/blob/main/examples/example_model.yml) file for more details on how to add these features to your project! |
| 64 | + |
| 65 | +### Launching lightdash |
| 66 | + |
| 67 | +```shell |
| 68 | +# Specify the path to your dbt project |
| 69 | +# (i.e. the directory containing dbt_project.yml) |
| 70 | +# You MUST use the absolute path (i.e no ../../myrepo) |
| 71 | +export DBT_PROJECT_PATH=/Users/myuser/dbtrepo |
| 72 | + |
| 73 | +# Build and run lightdash |
| 74 | +yarn start |
| 75 | + |
| 76 | +# Press ALLOW when asked to "accept incoming connections from python" |
| 77 | +``` |
| 78 | + |
| 79 | +## Join the community! |
| 80 | +--- |
| 81 | +- Find us on [Slack](https://join.slack.com/t/seekercommunity/shared_invite/zt-ptiqsd6p-Dbjjn8GXozYkFhARgAs3cw). We'd love to hear what you have to say about lightdash :) |
| 82 | +- _coming soon_ Join the discussion in our discourse. |
| 83 | + |
| 84 | +## Reporting bugs and feature requests |
| 85 | +--- |
| 86 | +- Want to report a bug or request a feature? Let us know on [Slack](https://join.slack.com/t/seekercommunity/shared_invite/zt-ptiqsd6p-Dbjjn8GXozYkFhARgAs3cw), or open an [issue](https://github.com/lightdash/lightdash/issues/new/choose). |
0 commit comments