Skip to content

Latest commit

 

History

History
62 lines (55 loc) · 2.9 KB

README.md

File metadata and controls

62 lines (55 loc) · 2.9 KB

Drupal.cz community website

Chat: Gitter

Build status

Branch Build status
Master Build Status
Develop Build Status

Contents

  • acquia-utils/ - Acquia cloud specific tools.
  • config/ - Exported Drupal configutation.
  • docroot/ - Website directory.
  • hooks/ - Acquia cloud hooks. (See https://docs.acquia.com/cloud/manage/cloud-hooks )
  • library/ - Acquia cloud libraries.
  • tests/ - Collection of tests for Travis CI and local development.
  • .gitignore - Gitignore.
  • .travis.yml - Travis CI test suite configuration.
  • scrub.sql - script to strip sensitive data from D6 production database.
  • slim.sql - script to make scrubbed database smaller so we can run tests quicker.

Requirements

Getting the site up and running.

  • Get your copy of the code:
  • Prepare your database and fill the credentials into your new local config.
    • cp docroot/sites/default/default.settings.local.php docroot/sites/default/settings.local.php
    • edit this config: docroot/sites/default/settings.local.php
  • Install the site (it will use the Drupal.cz distribution).
    • cd docroot
    • drush si
    • Import configuration:
    • drush cim -y
    • Login to new site:
    • drush uli
  • Optional: Migrate data from D6 Drupal.cz
    • Get the database snapshot: https://github.com/Drupalcz/drupalcz_db
    • Import it into new database separarate from D8 version.
    • See docroot/sites/default/default.settings.local.php for info how to connect second DB.
    • Enable module with migration definitions:
    • drush en dcz_migrate -y
    • See which migrations are available:
    • drush migrate-status
    • Run the migration:
    • drush migrate-import --group=dcz6 -vvv
    • Check results:
    • drush migrate-status

Contributing