-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
Feature Request: custom environment to run Shopware 6 #169
Comments
@gfilice I ran through installing Shopware over the weekend on here, based on the Symfony env type so I could see what you're referring to. Noting here that both the As an interesting note, I found this as well. I'm curious, do you know if this is Shopware specific or Symfony in general? In order to test installing it myself, I went ahead and added a basic As a recommended workaround to avoid the
As someone who hasn't actually developed a site on Shopware 6, I'd love feedback from some who has on what containers should be included in a Shopware environment by default. I know it can use Elasticsearch, Varnish and Redis, but are they typically used or would requiring users enable them by adding a var to Feedback on what directories should/could be excluded from the Mutagen sync would be good as well. On Magento 2 for example, |
Thank you @davidalger. |
@gfilice I'm not sure why that error would show up since I haven't used Shopware beyond installing it at this point. What I did to install is paste the following into my shell:
Those last two lines could be replaced by entering the environment via When the above is done, you should be met with the following (output of the install command at the very end):
After I run the above, pop open https://app.sh6.test/ in my browser and voila! A working Shopware installation: |
Does it work if you include an install of make/g++ ( I noticed when I ran it, the npm install had warnings about make being missing for me…it just didn't kill it ). I may need to add make/g++ to the images.
|
Doesn't work @davidalger ... I've always the error Cannot find module 'semver' |
@gfilice Assuming you're starting from a completely clean environment, I'm afraid I'm not sure what to say to that one since I cannot reproduce it, and I've spun up a Shopware 6 site using the above chained commands over half a dozen time without failure so I'm a bit at a loss. If you search for that Unless I can be convinced the NPM install issue you're having is specific to Warden, I'm probably going to allow this to close when I tag Warden 0.6.0 which includes the new I'm adding |
Thank you @davidalger! |
… to avoid requiring root user Relates to #169
…uring auto-create routine Relates to #169
@gfilice Very good to hear! |
The functionality here has been released in version 0.6.0. Please refer to #173 for info on forthcoming documentation covering how to install Shopware 6 in a Warden environment context. |
Now Shopware 6 requires composer 2, so don't forget to switch composer version before installation: #296 (comment) |
I would like to have the opportunity to create a custom environment to run Shopware 6 (link to doc).
The major problem is that Shopware write a .env file in root folder, overriding the warden env.
Any suggestion would be appreciated.
The text was updated successfully, but these errors were encountered: