-
Notifications
You must be signed in to change notification settings - Fork 3
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
Extend SetupCommand to create parameters.yml #7
Comments
Hey @ingowalther I'll take this one! |
@xRahul thank you! |
as I understand = the parameters.yml will be created during composer install, so do you mean to update parameters.yml db configuration? |
At the moment you have to copy the parameters.yml.dist by hand. It would be cool if the parameters.yml is created while executing the setup command. But there is a issue that the container requires the existence of the parameters.yml |
I think that it is possible to make it automatic by https://github.com/Incenteev/ParameterHandler |
Oh that looks great! I also like the idea to execute the installation as composer post-install script. It looks like the best an cleanest solution to me. |
ready for PR, but don't see if you merged the previous PR |
Your solution looks good! But maybe it is a good idea to create a seperate config for the "binary_path" and "command" elements and copy a dist file after composer install. It the most use-cases you will use the default and it is a little bit annoying to push enter for every element. What do you think? |
Or maybe we wait till they will merge Incenteev/ParameterHandler#95 |
This looks to be the good solution.. I'll leave it to @surgun9 then |
Well, of course we can split config, but you do it only once and you need just to press enter if you will use default value....later when parametersHandler will be updated we can update the composer.json |
Okay. That is fine for me at the moment! |
so what is your decision? |
I will merge #10 later. It is okay for me at the moment. |
ok, you are welcome |
Done with #10! |
Let the SetupCommand create the parameters.yml by questioning the user for the Database-Informations.
The text was updated successfully, but these errors were encountered: