-
Pull the latest docker images:
docker-compose pull
-
Start the docker containers:
docker-compose up -d
-
Download project dependencies
./scripts/install-dependencies.sh
-
Create a local configuration file:
cp webroot/sites/example.settings.local.php webroot/sites/default/settings.local.php
Open
settings.local.php
and activate the DB settings by removing the line above$databases = [
. -
Install the site:
./scripts/site-install.sh
-
Go to http://192.168.99.100/user to view your new Drupal 8 site.
- Default username:
admin
- Default password:
password
./scripts/ssh.sh
Drush is available inside the container.
If you update the site configuration you need to export it before committing your changes.
drush config-export -y
To run all of your custom tests, you need to ssh into your site container and run:
./run-tests.sh
You can run specific test suites:
./run-tests.sh --testsuite unit
./run-tests.sh --testsuite kernel
./run-tests.sh --testsuite functional