Skip to content

Commit

Permalink
Merge pull request #48 from DataRecce/feature/recce-cloud-with-recce-…
Browse files Browse the repository at this point in the history
…oss-cloud-mode

Update the recce cloud setup steps
  • Loading branch information
popcornylu authored Jun 20, 2024
2 parents de43bd0 + e6b6c16 commit 618f7a8
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions docs/docs/recce-cloud/setup-gh-codespaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,13 @@ GitHub Codespaces is a development environment provided by GitHub that allows de
RUN pip install dbt-bigquery~=1.7.0 recce
```
1. **Prepare the credential for dbt.** We recommend using the source-controlled `profiles.yml` in conjunction with environment variables to provide the credentials for connecting to the warehouse. There are two ways to provide environment variables
- Define environment variable in the `devcontainer.json`
- Provide environment by the [Codespace secrets](https://docs.github.com/en/codespaces/managing-your-codespaces/managing-your-account-specific-secrets-for-github-codespaces).
1. **Prepare the credential for dbt.** We recommend using the source-controlled `profiles.yml` in conjunction with environment variables to provide the credentials for connecting to the warehouse. There are three ways to provide environment variables
- Define environment variables in the `devcontainer.json`
- Provide environment variables by the [account specific codespaces secrets](https://docs.github.com/en/codespaces/managing-your-codespaces/managing-your-account-specific-secrets-for-github-codespaces)
- Provide environment variables by the [repository-level or organization-level codespaces secrets](https://docs.github.com/en/codespaces/managing-codespaces-for-your-organization/managing-development-environment-secrets-for-your-repository-or-organization)
Example profile
```
myprofile:
target: dev
Expand All @@ -52,7 +54,7 @@ GitHub Codespaces is a development environment provided by GitHub that allows de
dataset: "{{ env_var('DBT_SCHEMA') }}"
...
threads: 32
```
```
## Verify the Codespaces Setup
Expand Down

0 comments on commit 618f7a8

Please sign in to comment.