Are install steps correct?
swarad07 opened this issue · 2 comments
swarad07 commented
I did as mentioned in the install,
$ composer create-project acquia/reservoir-project MY_PROJECT --stability=alpha
Created a host reservoir.local, pointed it to the docroot directory,
All I see when I goto the host is an empty page with core, modules & profiles directory?
What am I missing?
My virtual host,
<VirtualHost *:80>
DocumentRoot "/Applications/MAMP/htdocs/personal/reservoir/docroot"
ServerName reservoir.local
ErrorLog "logs/com-error_log"
CustomLog "logs/com-access_log" common
<Directory /Applications/MAMP/htdocs/personal/reservoir/docroot/>
Options FollowSymLinks Indexes
AllowOverride All
order allow,deny
allow from all
</Directory>
</VirtualHost>
sodacrackers commented
The handy 3 steps of instructions are incorrect and do not install Drupal's scaffolding in the correct place.
sodacrackers commented
I was able to resolve this by running drupal-scaffolding install in project root.
Scaffolding is already included in Reservoir's composer file. This snippet (from readme) allows running $composer drupal-scaffold
, which copies .htaccess, index.php etc to ./docroot/.
{
"scripts": {
"drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold"
}
}