Skip to content

Drupal.cz community site repository (Drupal 8 version)

Notifications You must be signed in to change notification settings

martin-klima/drupalcz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Drupal.cz community site repository (Drupal 8 version)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 92.0%
  • HTML 2.8%
  • JavaScript 2.6%
  • CSS 2.3%
  • Ruby 0.2%
  • Shell 0.1%