Skip to content
Snippets Groups Projects
Commit 8f79d0bf authored by Dennis van Rooijen's avatar Dennis van Rooijen
Browse files

Merge branch update-missing-run-instructions with refs/heads/master into...

Merge branch update-missing-run-instructions with refs/heads/master into refs/merge-requests/83645/train
parents ea72ddfb 2135fa7e
No related branches found
No related tags found
No related merge requests found
Pipeline #314975116 passed
......@@ -78,6 +78,7 @@ Recommended workflow for anyone running a Mac system.
- Ensure you have the `DBT_PROFILE_PATH` environment variable set. This should be set if you've used the [onboarding_script.zsh](https://gitlab.com/gitlab-data/analytics/-/blob/master/admin/onboarding_script.zsh) (recommened to use this as this latest and updated regularly) or [onboarding_script.sh](https://gitlab.com/gitlab-data/analytics/blob/master/admin/onboarding_script.sh), but if not, you can set it in your `.bashrc` or `.zshrc` by adding `export DBT_PROFILE_PATH="/<your_root_dir/.dbt/"` to the file or simply running the same command in your local terminal session
- Ensure your SSH configuration is setup according to the [GitLab directions](https://gitlab.com/help/ssh/README). Your keys should be in `~/.ssh/` and the keys should have been generated with no password.
- You will also need access to [this project](https://gitlab.com/gitlab-data/data-tests) to run `dbt deps` for our main project.
- **NB**: Before running dbt for the first time run `make prepare-dbt`. This will ensure you have venv installed.
- To start a `dbt` container and run commands from a shell inside of it, use `make run-dbt`
- This will automatically import everything `dbt` needs to run, including your local `profiles.yml` and repo files
- To see the docs for your current branch, run `make run-dbt-docs` and then visit `localhost:8081` in a web-browser. Note that this requires the `docs` profile to be configured in your `profiles.yml`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment