-
Notifications
You must be signed in to change notification settings - Fork 5
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
Missing config.json #14
Comments
Hey there, depending on the version of Pivet you are running you should be able to run it with "pivet.exe -b" to enter a config builder mode, this is a guided mode for building out a config.json, it will ask you questions, and you answer and at the end you'll have a config.json next to your pivet executable. |
Hey thank you for reply me back, |
Hello again, |
If you could provide me the questions you aren't sure about I'd be happy to explain them in further detail |
I have a lot of questions:
|
Hello, |
Hi Tim @tslater2006, I downloaded this project, installed dotnet-sdk-3.0.100-win-x64.exe added a TNS_ADMIN system environmental variable (windows) I'm trying to utilize this project but I'm having a problem connecting to the db. What is the correct db url/connection format for an oracle db? I used pivet.exe -b to build the following information into my config.json file C:\Users\artisd\Documents\work\pivet\Pivet\Pivet\bin\Release\netcoreapp3.0>pivet.exe -b Then I added a job, in what I think is the correct format for JSON. { [MSG] [10/24/2019 12:35:03] Getting database connection... |
@alexei2001 this is an oversight on my part, the -b flag hasn't been properly updated to match the correct format of the config.json. There has been some refactoring of the config file and the builder isn't in sync with it yet. For the time being please grab a copy of the sample-config included on releases: https://github.com/tslater2006/Pivet/releases/download/0.2/sample-config.json And adjust the things you need to. For the passwords you can run Please let me know if this helps. Also, looking at the config you pasted, unless you are wanting to push the git repo to somehwere (github, bitbucket, gitlab etc) leave the 'Url" and "User", and "EncryptedPassword" fields blank for the Repository. Also I would recommend you have CommitByOprid set to false, not all definitions support commiting by OPRID and it makes the git history a bit more complicated. CommitByOprid will commit changes as the last update oprid on certain definitions (ppc,html,sql for example) this isn't always accurately attributing changes in a situation where multiple people have touched 1 file between runs. |
@alexei2001 your TNS_ADMIN field looks incorrect. the \ need to be escaped:
should be
|
Hi Tim @tslater2006 ,
I sent you a message on LinkedIn.
When i run the program, it says the system could not find the file config.json.
Can you please show me how to resolve this problem?
Best regards,
Minh
The text was updated successfully, but these errors were encountered: