dbt setup
If you want a quick explanation of what dbt is and the commands you will use most often, see the dbt cheat sheet.
- Go to your IDE
- Open the local folder containing your DBT code (configured in Github step)
- In the top menu, Go to Terminal->New Terminal
- Go to Inside the newly opened terminal at the bottom
- Create a virtual environment with command: python3 -m venv myenv
- Activate your myenv virtual env(Win): .\myenv\Scripts\activate
- You should see the terminal’s line like below reflecting your virtual env’s name (i.e. myenv)
- Run command ‘pip install -r requirements.txt’. This will install all necessary python libraries for coding. (list mentioned in the ‘requirements.txt’ file)
- Once installation is complete, run command ‘dbt deps’. This will install necessary dbt libraries for dbt processing (list mentioned in the ‘packages.yml’ file)