Docksal config directory for Drupal for the Web Content Management as a Service platform (WCMaaS).
The goal is to keep this up to date with the current state of the platform, app servers, version etc... so tenants can keep their local development environments up to date.
Installation:
- install Docksal
- copy this repository to your project root as a sibling directory to your docroot/
- copy or symlink your database backup (*.sql or *.sql.gz) into db/ this will get loaded on initialization
- from the terminal type
fin init
The init script will do the following
- start docker servers
- web - apache 2.2
- cli - Command line interface for drush to interact with
- db - MySQL 5.5
- memcached
- memcached
- memcached
- memcached
- mcrouter - for testing
- nutcracker/twemproxy - for testing
- import the database
- truncates the database named default
- loads the database file in
- sanitizes the user emails
- repeats for all db backup files in the directory in alphabetical order, so the first one loaded will be truncated, try to only put one file in the db directory at a time
To restart servers type fin reset
. To start again with fresh servers and fresh DB import run fin init
again.