-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Consolidate scaffolding into this project. * Add consolidated scaffold files. * Fix typo. * Add missing path to file existance check. * Fixed incorrectly named function. * Add missing filesystem dep, refactor to use. * Changing docker-compose.yml file to copy only if absent. * Add static function back in to enable calling script manually. * Fixed RoboFile.php to include default install profile. * Add bin dir config to composer.json.
- Loading branch information
Showing
5 changed files
with
289 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?php | ||
/** | ||
* @file | ||
* Contains \Robo\RoboFile. | ||
* | ||
* Implementation of class for Robo - http://robo.li/ | ||
* | ||
* You may override methods provided by RoboFileBase.php in this file. | ||
* Configuration overrides should be made in the constructor. | ||
*/ | ||
|
||
include_once 'RoboFileBase.php'; | ||
|
||
/** | ||
* Class RoboFile. | ||
*/ | ||
class RoboFile extends RoboFileBase | ||
{ | ||
|
||
/** | ||
* {@inheritdoc} | ||
*/ | ||
public function __construct() | ||
{ | ||
parent::__construct(); | ||
// Put project specific overrides here, below the parent constructor. | ||
} | ||
|
||
/** | ||
* {@inheritdoc} | ||
*/ | ||
protected function getDrupalProfile() | ||
{ | ||
// Replace this with the profile of your choice. | ||
return "standard"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
version: '2' | ||
services: | ||
web: | ||
image: uofa/apache2-php7-dev:shepherd | ||
hostname: ${PROJECT} | ||
environment: | ||
SITE_TITLE: Drupal site | ||
SITE_MAIL: [email protected] | ||
SITE_ADMIN_EMAIL: [email protected] | ||
SITE_ADMIN_USERNAME: admin | ||
SITE_ADMIN_PASSWORD: password | ||
VIRTUAL_HOST: ${PROJECT}.${DOMAIN} | ||
SSH_AUTH_SOCK: ${CONTAINER_SSH_AUTH_SOCK} | ||
DATABASE_HOST: db | ||
DATABASE_PORT: 3306 | ||
DATABASE_NAME: drupal | ||
DATABASE_USER: user | ||
DATABASE_PASSWORD: password | ||
PRIVATE_DIR: /shared/private | ||
PUBLIC_DIR: web/sites/default/files | ||
HASH_SALT: random-hash | ||
CONFIG_SYNC_DIRECTORY: /shared/private/random-hash/sync | ||
volumes: | ||
- .:/code | ||
- shared:/shared | ||
- ${HOST_SSH_AUTH_SOCK_DIR}:/ssh | ||
db: | ||
image: mariadb | ||
environment: | ||
MYSQL_DATABASE: drupal | ||
MYSQL_USER: user | ||
MYSQL_PASSWORD: password | ||
MYSQL_ROOT_PASSWORD: super-secret-password | ||
mail: | ||
image: helder/mailcatcher | ||
environment: | ||
- VIRTUAL_HOST=mail.${PROJECT}.${DOMAIN} | ||
volumes: | ||
shared: | ||
ssh: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters