Install drupal 8 project with composer using default template and modify where document root is other than web.
This would require to install composer first, then follow below command to create drupal 8 project with composer.
$ composer create-project drupal-composer/drupal-project:8.x-dev testing.com --stability dev --no-interaction --no-install
Above command will create drupal 8 project with folder name testing.com, now make the changes in composer.json
under "extra">>"installer-paths", there is path like "web/core": ["type:drupal-core"],
replace all the occurrence of web with your folder name.
Now run the command
$ composer install
This will download drupal 8 code with its dependencies defined in composer.json file
Comments
Post a Comment
There is comment posted on your blog, chandu7929@blogpost.com