horses-eating-turnips / turnip

OpenSourcery's Drupal starter kit, with a focus on developer collaboration and reusable code.
http://www.opensourcery.com
GNU General Public License v3.0
25 stars 4 forks source link

More specific 'first run' instructions #27

Open jessehs opened 10 years ago

jessehs commented 10 years ago

People have run into issues with creating the settings.local.php file. Specifically, it seems intuitive to copy the entire settings.default.php file into the settings.local.php, even though only the database settings and local config variables should be put here.

Also, the directory at sites/default/files throws an error during install "unable to create directory". Really, this directory should be created at /shared/files.

jessehs commented 10 years ago

Perhaps the settings.local.php file should be created as part of the bin/make-install-profile script. Couldn't there also be a mkdir files step in the script as well?

Greg-Boggs commented 10 years ago

The other error I ran into was sites/default/files failing to create.

To fix it I had to type:

mkdir shared/files

Greg-Boggs commented 10 years ago

After playing a bit, I realized the reason I had to manually create the files directory is that it's git ignored, but never created anywhere. It's actually git ignored in two places, once in shared and once in the /drupal folder.

Possible solutions:

  1. Update the readme to include mkdir shared/files
  2. edit git ignore to only ignore files/* rather than files
  3. update the bin/install script to mkdir shared/files