Coder Social home page Coder Social logo

Comments (11)

keulinho avatar keulinho commented on August 30, 2024 1

For the production template the issue was fixed in this commit: 4a0cd7c

sadly that commit is not yet released, but it will be released in the upcoming version.

from production.

pweyck avatar pweyck commented on August 30, 2024

Hello @tinect,

thanks for the feedback. 👍 We want to gradually improve the system:install command, until it can replace the recovery install. PRs are welcome :-)

You can still use the cli installer from the recovery package. Just run php public/recovery/install/index.php. An example: shopware/shopware#223 (comment)

from production.

JoshuaBehrens avatar JoshuaBehrens commented on August 30, 2024

@pweyck unfortunately the referenced command in shopware/shopware#223 is not working as the production template does not ship public/recovery/install/data/version :(

from production.

vintagesucks avatar vintagesucks commented on August 30, 2024

@JoshuaBehrens You can generate that file yourself:

CORE_TAG=$(php -r 'include_once "vendor/autoload.php"; echo ltrim(explode("@", PackageVersions\Versions::getVersion("shopware/core"))[0], "v");')
echo "$CORE_TAG" > public/recovery/install/data/version

from production.

JoshuaBehrens avatar JoshuaBehrens commented on August 30, 2024

Nice script. I wrote it manually and got it working but unfortunately it is not a simple one-liner

from production.

pweyck avatar pweyck commented on August 30, 2024

Nice script. I wrote it manually and got it working but unfortunately it is not a simple one-liner

See #15

from production.

shopwareBot avatar shopwareBot commented on August 30, 2024

Hello,

thank you for creating this issue.
I have opened a ticket on our Issue Tracker for you. See the ticket link: https://issues.shopware.com/issues/NEXT-7251

Please use this ticket to track the state of your issue.

from production.

ddedic avatar ddedic commented on August 30, 2024

Description
I'd like to get some more options on default install-command with basic-setup.
For us it's important to specify defaultLanguage, cause it is German instead of English.

You can specify shop locale, by passing --shop-locale variable to the cli installer.

php public/recovery/install/index.php \
        --no-interaction \
        --db-user=root \
        --db-password=password \
        --db-name="shopware" \
        --shop-locale=de-DE \
        --shop-country=AUT \
        --shop-host=shopware.test \
        --shop-path="" \
        --shop-name='CLI Installer test' \
        --shop-currency=EUR \
        --admin-username=demo \
        --admin-password=demo \
        [email protected] \
        --admin-locale=de-DE \
        --admin-firstname=Max \
        --admin-lastname=Mustermann

from production.

JoshuaBehrens avatar JoshuaBehrens commented on August 30, 2024

Yes. But you are forced to have the shopware/recovery package for this :(

from production.

marvatis avatar marvatis commented on August 30, 2024

@ddedic
How do you use this? We found https://issues.shopware.com/issues/NEXT-7241 that states its just:
system:install --shop-locale de-DE --shop-currency USD
But it doesnt work.
The help shows nothing about --shop-local. We have Shopware 6.4.6.1 cloned from prodction and installed via composer.

from production.

shyim avatar shyim commented on August 30, 2024

Changing languages works now since some releases

from production.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.