-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
magento setup:install --base-url="http://{{base_url}}/" should be valid #1382
Comments
Hi @keithbentrup, thank you for reporting. I think this is more change request than bug and it needs PO input. |
Hi @keithbentrup I can be done from admin section . I know the solution , for what you looking for . Allow me to fix this task . |
Hi @keithbentrup , could you, please, clarify what means "so that it'll work with whichever host/ip and port that I later choose."?
|
Hi, In magemto you can change base url from database . find table or https://kb.magenting.com/content/10/9/en/change-magento-base-url.html On Thu, Jun 18, 2015 at 6:49 AM, Olga notifications@github.com wrote:
|
In the admin, "{{base_url}}" is a valid option, so I should be able to specify that value during the installation. There are scenarios where I want to scale the number of m2 instances and this requirement of providing a static host:port combination beforehand unnecessarily limits that ability. For example, linux containers technology like Docker will randomly assign a port, so if I want to spin up 5 instances simultaneously on the same host, this one requirement blocks me from doing that. If {{base_url}} was allowed, it would work. |
Hi @keithbentrup , You should determine the host/port in your script and use that value in the command instead of hard-coded value. |
@buskamuza I'm not sure what you mean by "can NOT". I put the {{base_url}} in the "Base URL" field in the Admin Pane. It accepts it. I flush the cache, clear var/, and "{{base_url}}" works. Have you tried it? Regardless, there is a need for it. We used it extensively in many dev & QA scenarios on magento 1.14. |
@keithbentrup , you're right. Sorry for the confusion. |
Included in 1.0.0-beta |
Just FYI: If you set the base_url config setting to "{{base_url}}" alone, it creates invalid recursion and crashes magento. |
…ests MSI: Skip failed tests
I should be able to not specify the url during installation and simply use the {{base_url}} value, so that it'll work with whichever host/ip and port that I later choose.
The text was updated successfully, but these errors were encountered: