财经数据DBT分析模型
Go to file
沈楠 af92fcd9a6
All checks were successful
MJN/finance-dbt/pipeline/head This commit looks good
fix: spcify host and port for doc-server
2024-07-07 14:52:12 +08:00
macros init: created 2024-04-12 19:07:47 +08:00
models release: 0.1.0 add ods for minutes trade data 2024-07-05 17:54:16 +08:00
.env init: created 2024-04-12 19:07:47 +08:00
.gitignore init: created 2024-04-12 19:07:47 +08:00
CD.sh init: created 2024-04-12 19:07:47 +08:00
CI.sh init: created 2024-04-12 19:07:47 +08:00
dbt_project.yml init: created 2024-04-12 19:07:47 +08:00
DebugImage.sh init: created 2024-04-12 19:07:47 +08:00
Deploy.sh init: created 2024-04-12 19:07:47 +08:00
Deploy.yml init: created 2024-04-12 19:07:47 +08:00
DeploySecrets.sh init: created 2024-04-12 19:07:47 +08:00
doc-server.sh fix: spcify host and port for doc-server 2024-07-07 14:52:12 +08:00
Dockerfile chores: pip3 -> pip 2024-07-05 18:11:40 +08:00
Jenkinsfile init: created 2024-04-12 19:07:47 +08:00
package-lock.yml init: created 2024-04-12 19:07:47 +08:00
packages.yml init: created 2024-04-12 19:07:47 +08:00
profiles.yml init: created 2024-04-12 19:07:47 +08:00
README.md init: created 2024-04-12 19:07:47 +08:00
requirements.txt fix: requirements.txt 2024-07-05 18:41:21 +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