简体   繁体   中英

How can I install and use website using drupal8 composer?

I tried to run inststruction from the official website but I cannot understand why I cannot access my website and what do I need to fix? My website is in the directory /var/www/drupal8. The files are as follows: 在此处输入图片说明

I installed it using composer from here https://www.drupal.org/node/2718229

What do I need to do next? I want to access my website in the browser as I can in Drupal 7 just typing my local website name, for example drupal7.loc

Configure your VirtualHost entry to point to drupal8/web . The actual Drupal root directory is the web directory. That's where the index.php file, etc. are.

Also, your screenshot doesn't show it, but make sure you have a drupal8/web/core directory. It should be there if you ran the composer create-project command, but if not, you'll need to run composer install in the project root ( /drupal8 ) before your site will load.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM