reservoir icon indicating copy to clipboard operation
reservoir copied to clipboard

Are install steps correct?

Open swarad07 opened this issue 6 years ago • 2 comments

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>

swarad07 avatar Apr 29 '18 09:04 swarad07

The handy 3 steps of instructions are incorrect and do not install Drupal's scaffolding in the correct place.

sodacrackers avatar Jun 18 '18 16:06 sodacrackers

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"
  }
}

sodacrackers avatar Jul 17 '18 20:07 sodacrackers