This is a sample vanilla Drupal 7 installation pre-configured for use with Docksal.
Features:
fin init
exampleThis is a one time setup - skip this if you already have a working Docksal environment.
Follow Docksal environment setup instructions
Clone this repo into your Projects directory
git clone https://github.com/docksal/boilerplate-drupal7-advanced.git drupal7-advanced && cd drupal7-advanced
Initialize the site
This will initialize local settings and install the site via drush
fin init
Point your browser to
http://drupal7-advanced.docksal.site
Site provisioning can be automated using fin init
, which calls the shell script in .docksal/commands/init.
This script is meant to be modified per project. The one in this repo will give you a good example of advanced init script.
Some common tasks that can be handled by the init script:
Behat tests are stored in tests/behat.
Example of running Behat tests:
fin behat features/blackbox.feature
There is an additional site configured in this project: anothersite.drupal7-advanced.docksal
To have it installed during fin init
Uncomment the following block in .docksal/commands/init:
# Multisite - install an additional site
site_install_anothersite
Run fin init
again