Add all files needed to bring up VM and run agaric.com locally
This commit is contained in:
parent
52c8b60bac
commit
4d2bc0ee24
742 changed files with 24037 additions and 0 deletions
|
@ -0,0 +1,36 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Drupal VM drush aliases.
|
||||
*
|
||||
* @see example.aliases.drushrc.php.
|
||||
*/
|
||||
|
||||
{% macro alias(host, root) -%}
|
||||
{%- if root not in _devtool_docroots %}
|
||||
$aliases['{{ host }}'] = array(
|
||||
'uri' => '{{ host }}',
|
||||
'root' => '{{ root }}',
|
||||
);
|
||||
|
||||
{% endif -%}
|
||||
{% endmacro -%}
|
||||
|
||||
{% block aliases -%}
|
||||
{%- if drupalvm_webserver == 'apache' -%}
|
||||
{%- for vhost in apache_vhosts -%}
|
||||
{{ alias(vhost.servername, vhost.documentroot) }}
|
||||
{%- if vhost.serveralias is defined -%}
|
||||
{%- for serveralias in vhost.serveralias.split() -%}
|
||||
{{ alias(serveralias, vhost.documentroot) }}
|
||||
{%- endfor -%}
|
||||
{%- endif -%}
|
||||
{%- endfor -%}
|
||||
{%- elif drupalvm_webserver == 'nginx' -%}
|
||||
{%- for host in nginx_vhosts -%}
|
||||
{%- for server_name in host.server_name.split() -%}
|
||||
{{ alias(server_name, host.root) }}
|
||||
{%- endfor -%}
|
||||
{%- endfor -%}
|
||||
{%- endif -%}
|
||||
{%- endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue