As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
Management of .kinvey file when using command line and git
M
Michael LeBarron
started a topic
almost 10 years ago
How do you handle that the .kinvey file stores both the project information (which I want committed to the repo) and session data (that I don't want committed)?
I've tried not storing it in the repo, but then a fresh clone doesn't know where to go, and when I run 'kinvey init' it tells me (typo and all):
CRITICAL: business-logic direcotry found at /Users/mlebarron/code/business-logic
CRITICAL: Either restore your .kinvey file or remove the business-logic directory and try again
so then I have to move the business logic out, do the init, then move it back in.
okay found out that there's a new version that fixes the --app thing. Other comments still apply
R
Ryan
said
almost 10 years ago
Michael,
I hear you loud and clear, we have plans to split the two files up so you can have your configuration file in source control without sharing your session data. The only way around it is to move the BL out and then back in right now, which is not a good solution. Stay tuned for an update.
M
Mark
said
almost 10 years ago
[Version 0.3.0](http://devcenter.kinvey.com/bl-cli-downloads) stores user credentials in your home directory, while app details remain in the project directory. Let me know if this works for you!
Michael LeBarron
I've tried not storing it in the repo, but then a fresh clone doesn't know where to go, and when I run 'kinvey init' it tells me (typo and all):
CRITICAL: business-logic direcotry found at /Users/mlebarron/code/business-logic
CRITICAL: Either restore your .kinvey file or remove the business-logic directory and try again
so then I have to move the business logic out, do the init, then move it back in.
based on:
usage: kinvey init [--app APP] [--environment ENV] [--email EMAIL]
kinvey help [command]
kinvey generate
kinvey deploy [--app APP] [--environment ENV] [--email EMAIL] [-message MESSAGE]
kinvey revisions [--app APP] [--environment ENV] [--email EMAIL]
kinvey rollback [--app APP] [--environment ENV] [--email EMAIL] [-message MESSAGE] [-r REVISION]
kinvey refresh [--app APP] [--environment ENV] [--email EMAIL]
I tried 'kinvey init --app ' but then I get 'kinvey: error: unrecognized arguments: --app' which is what the usage just told me to do so...