Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print change directory when dbt init #9144

Closed
wants to merge 2 commits into from
Closed

Conversation

jx2lee
Copy link
Contributor

@jx2lee jx2lee commented Nov 25, 2023

resolves #9041

Problem

The instructions should tell me to cd to the newly-created dbt project's directory before running dbt debug

Solution

#9041 (comment)

see command results when i runs dbt init locally

13:55:16  Running with dbt=1.8.0-a1
Enter a name for your project (letters, digits, underscore): test1
13:55:20  
Your new dbt project "test1" was created!

For more information on how to configure the profiles.yml file,
please consult the dbt documentation here:

  https://docs.getdbt.com/docs/configure-your-profile

One more thing:

Need help? Don't hesitate to reach out to us via GitHub issues or on Slack:

  https://community.getdbt.com/

Happy modeling!

13:55:20  Setting up your profile.
Which database would you like to use?
[1] postgres

(Don't see the one you want? https://docs.getdbt.com/docs/available-adapters)

Enter a number: 1
host (hostname for the instance): test
port [5432]: 
user (dev username): test
pass (dev password): 
dbname (default database that dbt will build objects in): test
schema (default schema that dbt will build objects in): test
threads (1 or more) [1]: 
13:55:30  Profile test1 written to /Users/jj/.dbt/profiles.yml using target's profile_template.yml and your supplied values. Run 'dbt debug' to validate the connection.

p.s change directories to "test1" to use this project.

Checklist

  • I have read the contributing guide and understand what's expected of me
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX
  • This PR includes type annotations for new and modified functions

@cla-bot cla-bot bot added the cla:yes label Nov 25, 2023
@jx2lee jx2lee marked this pull request as ready for review November 25, 2023 13:57
@jx2lee jx2lee requested a review from a team as a code owner November 25, 2023 13:57
@jx2lee jx2lee requested a review from gshank November 25, 2023 13:57
@jx2lee
Copy link
Contributor Author

jx2lee commented Dec 8, 2023

this pr will be closed, because it will solve on #8216

@jx2lee jx2lee closed this Dec 8, 2023
@jx2lee jx2lee deleted the chg-dir-logs branch December 8, 2023 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant