Commit d1be38c2 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Drupal boilerplate

Refs #61480
parents
# Ignore source directory
src
This diff is collapsed.
== Nouvelle Installation ==
# Prepare the installation
drush make build/ccola_aln-6.x.make src/drupal/ -y
# Restore the latest database dump
cd src/drupal
zcat ../../build/ccola_dbdump_latest.sql.gz | mysql -u <user> -p <dbname>
.. note::
A daily database snapshot from the production is archived on Jenkins: https://deploiement.savoirfairelinux.com/job/ccola-aln-sync-db/
It could be downloaded from there as well.
# Don't forget to manually edit settings.php to add your own database credentials
== Site Update ==
# From DRUPAL_ROOT
drush make --no-core ../../build/ccola_aln-6.x.make .
drush updatedb
Add here project documentation
Copy patches that can be applied in the site.
Patches that must be applied should be specified in the Makefile.
core = 7.x
api = 2
; Core
; Always get the latest version
projects[] = drupal
; To get a specific Drupal version, use the following line instead:
; projects[drupal][version] = 7.33
<?php
/**
* DO NOT EDIT. Copy this file to a new file named aliases.drushrc.php.
* Example file.
*
* Drush aliases definition.
*/
$aliases['staging'] = array(
'root' => '/var/www/html/drupal',
'uri' => 'http://example.com',
'remote-host' => 'http://example.com',
'remote-user' => 'webmaster',
'path-aliases' => array(
'%files' => 'sites/default/files',
),
);
= Instructions =
== Behat: functional tests ==
Copy behat/behat.yml.example to behat/behat.yml, and replace the placeholders with your values.
Run the tests:
% ./behat
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment