Aquifer project directories

Patrick Coffey edited this page Sep 11, 2015 · 7 revisions

Your Aquifer projects will contain the following directories by default:

/settings contains settings.php files that will be placed into the Drupal /sites/default directory in the build. It will contain the following files:

  • settings.php: Contains master module configuration and any other configuration that will be common to all environments for the site. This file will be under version control so do not put sensitive or local environment information in it.
  • secret.settings.php: Contains database settings for the environment and any other sensitive configuration settings. Important: Be sure to configure your database settings in this file before you build your project. This file will not be under version control for security reasons.
  • local.settings.php: Contains local configuration overrides for the current environment. This file will not be under version control as it contains environment specific settings.

/root contains files that will be placed into the Drupal root directory in the build. By default it will contain the following files:

  • .htaccess: This is Drupal's default .htaccess file. You can override it here and your changes will be incorporated into the build by overwriting the file installed by Drupal.
  • robots.txt: This is Drupal's default robots.txt file. You can override it here and your changes will be incorporated into the build by overwriting the file installed by Drupal.
  • You can also add your own files, like site verification files for example, that will get placed into the Drupal root directory during the build.

/modules contains custom modules and features for the site. It will contain the following subdirectories by default:

  • /custom: Should contain any custom modules you have developed for the site.
  • /features: Should contain any custom Features modules you have created for the site.

/themes contains custom themes for the site. It will contain the following subdirectory by default:

  • /custom: Should contain any custom themes you have developed for the site.

/files is your files directory for Drupal and is symlinked to /sites/default/files in the build.

/build will contain the Drupal installation generated by Aquifer when you run aquifer build. You should never modify files in this directory without the understanding that your changes will be temporary. They are not under version control and will also be overwritten the next time you build the project.

The names of these directories can be changed by modifying the aquifer.json file in your project root.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.