Trying to install drupal via composer on a shared server.
The complete path to my website looks like this :
/srv/data/web/vhosts/mysite.tld/htdocs/
i have (limited) terminal access and write permissions on the two last directories :
mysite.tld
and htdocs
.
htdocs
is the directory accessible through the web browser.
I installed composer then ran the following command from within mysite.tld
directory :
composer.phar create-project drupal/recommended-project:8.9.20 "install-dir"
Now inside mysite.tld
directory, i have the htdocs
folder and install-dir
folder that contains :
.editorconfig .gitattributes composer.json composer.lock vendor/ web/
I’m looking for a way to use install-dir/web/
as the htdocs/
folder and have it accessible through the browser.
Thanks