Installing OpenMage with Composer #4088
Replies: 3 comments 5 replies
-
|
Beta Was this translation helpful? Give feedback.
-
for question 2 and 3 The one in pub/ is the correct one, as modules get installed into this one. |
Beta Was this translation helpful? Give feedback.
-
Thank you both for your answers. If I run OpenMage from /pub, then I can no longer use Composer to update it, as long as it affects the files from /vendor/openmage/magento-lts. However, why do we get two identical directories as content after installation? |
Beta Was this translation helpful? Give feedback.
-
I have never installed OpenMage with Composer, so I followed the steps I found on this page
composer init
command and answered all the questionsI was asked about certain packages if they are safe and I completed successfully. Listing the openmage/ directory I am getting the following directories and files
If I will access the store in browser obviously I will get the Forbidden page, because the openmage/ directory is the Apache root.
Question 1
Do I need to create a redirect to the OpenMage files in an .htaccess file?
Question 2
Which directory should I redirect to, pub/ or vendor/openmage/magento-lts/? I found that both directories take 83 MB of space.
Question 3
Why there are two OpenMage directories? When the composer updates it will update the vendor/openmage/magento-lts directory not the pub/. Why the pub/ directory is not a symlink to the vendor/openmage/magento-lts?
Beta Was this translation helpful? Give feedback.
All reactions