财经数据DBT分析模型
Go to file
沈楠 edef34680e
Some checks failed
MJN/finance-dbt/pipeline/head There was a failure building this commit
git_tag -> image_tag
2024-04-08 11:22:27 +08:00
macros Created: a dbt project for finance data (hs_stock) 2024-04-07 19:09:16 +08:00
models Created: a dbt project for finance data (hs_stock) 2024-04-07 19:09:16 +08:00
.env Created: a dbt project for finance data (hs_stock) 2024-04-07 19:09:16 +08:00
.gitignore Created: a dbt project for finance data (hs_stock) 2024-04-07 19:09:16 +08:00
dbt_project.yml Created: a dbt project for finance data (hs_stock) 2024-04-07 19:09:16 +08:00
debug-image.sh Created: a dbt project for finance data (hs_stock) 2024-04-07 19:09:16 +08:00
deploy-secrets.sh Created: a dbt project for finance data (hs_stock) 2024-04-07 19:09:16 +08:00
Deploy.sh Created: a dbt project for finance data (hs_stock) 2024-04-07 19:09:16 +08:00
Deploy.yml Created: a dbt project for finance data (hs_stock) 2024-04-07 19:09:16 +08:00
doc-server.sh Created: a dbt project for finance data (hs_stock) 2024-04-07 19:09:16 +08:00
Dockerfile Created: a dbt project for finance data (hs_stock) 2024-04-07 19:09:16 +08:00
Jenkinsfile git_tag -> image_tag 2024-04-08 11:22:27 +08:00
package-lock.yml Created: a dbt project for finance data (hs_stock) 2024-04-07 19:09:16 +08:00
packages.yml Created: a dbt project for finance data (hs_stock) 2024-04-07 19:09:16 +08:00
profiles.yml Created: a dbt project for finance data (hs_stock) 2024-04-07 19:09:16 +08:00
README.md Created: a dbt project for finance data (hs_stock) 2024-04-07 19:09:16 +08:00
requirements.txt Created: a dbt project for finance data (hs_stock) 2024-04-07 19:09:16 +08:00

Welcome to finance dbt project!

Prepare

cp env.sh env.dev.sh

Change configurations in .env.dev.sh

source env.dev.sh

Run dbt

Try running the following commands:

  • dbt deps
  • dbt run
  • dbt test

Run in docker

  1. Run pipeline
    docker run <THIS_IMAGE> <DBT-COMMAND>
    
  2. As document-server
    docker run -p <PORT>:80 <THIS_IMAGE> sleep 99d
    

Resources:

  • Learn more about dbt in the docs
  • Check out Discourse for commonly asked questions and answers
  • Join the chat on Slack for live discussions and support
  • Find dbt events near you
  • Check out the blog for the latest news on dbt's development and best practices