Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

Archived content from Meltano Academy. NOTE: This repo is not actively maintained and is several versions behind the latest Meltano release. Template project for learning dbt transformations in a meltano project

License

Notifications You must be signed in to change notification settings

meltano/meltano-dbt-lab-template

Repository files navigation

meltano-cicd-sample-template

A project template for learning dbt with Meltano.

Open in Visual Studio Code

Testing

To test, first use the Open in VS Code link above to open the project in VS Code using Docker containers.

Note: The only prerequisites to get started is to install VS Code and Docker. As needed, VS Code will prompt you to install any additional extensions needed to open the project.

Configure your Snowflake profile

Create a new .env in the base of the repo, and copy the contents from .env.template.

Run dbt run to build your models

Open a new terminal and run dbt run.

This should confirm that your profile is setup correctly. If you are not able to connect, check your .env file to ensure your credentials, warehouse, and database name are all correct.

Run dbt docs generate to build your docs

At any terminal, run dbt docs generate.

Run dbt docs serve to launch the docs webserver

At any terminal, run dbt docs serve.

Note:

  • The process will keep the terminal busy until you cancel/kill the process (ctrl+c).
  • You do not need to stop and restart to get the latest. Instead, just rerun dbt docs generate and refresh your browser once it has completed.

About

Archived content from Meltano Academy. NOTE: This repo is not actively maintained and is several versions behind the latest Meltano release. Template project for learning dbt transformations in a meltano project

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published