Dear All,
Help me :)
I have my drupal site on host
I have installed composer manager drupal module and I have activated it.
In status report section there is a message: "Composer's install command must be run to generate the autoloader and install the required packages.
Refer to the instructions on the Composer Manager project page for installing packages".
I read documentation but there is no example for hosting.
So I have installed module shell to give command Composer's install because I don't have ssh access to my hosting.
But I don't know in what way to do this on drupal shell because I run command but nothing happened!
thank you
Comments
Comment #2
jolly_pils CreditAttribution: jolly_pils commentedComment #3
bojanz CreditAttribution: bojanz at Centarro commentedYou need shell access to run Composer on the server. Otherwise you'll need to run Composer locally and then commit/upload the result.
Comment #4
bojanz CreditAttribution: bojanz at Centarro commentedComment #6
ehowland CreditAttribution: ehowland commentedI am also on shared hosting, but I do have shell access.
I too am confused about the "Refer to the instructions on the Composer Manager project page for installing packages" I do not see any instructions for running composers install command on the linked page.
Does composer_manager actually contain composer or am I supposed to install composer someplace like sites/all/libraries? On the assumption that I need to install composer and following the links on the project page:
I did run the instructions on the top of
https://getcomposer.org/download/
I ran them in sites/all/libraries/composer but that does not seem to be what is needed. I am on dreamhost so I also had to reference (https://help.dreamhost.com/hc/en-us/articles/214899037-Installing-Compos...).
I ended up with a composer.phar file in sites/all/libraries/composer so I moved it to a folder in my home directory which I had named bin i.e. ~/bin/composer and then I made an 'alias composer="php ~/bin/composer.phar" ' in my alias - I guess I could have just changed my path.
Now typing "composer" at the command line works.
Comment #7
bojanz CreditAttribution: bojanz at Centarro commentedThis module does not install Composer for you, that's your responsibility (or your host's).
Glad you made it work.
Comment #8
n8thanael1900 CreditAttribution: n8thanael1900 commentedConsider this article..
https://www.drupal.org/node/2405805
I agree that it was difficult to find.