Code Monkey home page Code Monkey logo

drupalcz's Introduction

Drupal.cz community website

Build status

Branch Build status Dev site HTTP Basic auth
Master Build Status http://stage.drupal.cz drupal / cz
Develop Build Status http://dev.drupal.cz drupal / cz

Contents

  • blt/ - Settings for Acquia BLT.
  • config/ - Exported Drupal configutation.
  • console/ - Cache folder for Drupal Console. ()
  • docroot/ - Website root directory.
  • drush/ - Drush aliases and other rutiens.
  • hooks/ - Acquia cloud hooks. (See https://docs.acquia.com/cloud/manage/cloud-hooks )
  • patches/ - Our custom patches. (But we prefer linking drupal.org.)
  • reports/ - PHP Unit results.
  • tests/ - Collection of tests for Travis CI and local development.
  • .gitignore - Gitignore - be sure to check your own local gitignore so you don't commit your IDE's tmp files.
  • .travis.yml - Travis CI test suite configuration.

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/settings/default.local.settings.php docroot/sites/default/settings/local.settings.php
    • edit this config: docroot/sites/default/settings/local.settings.php
  • Install the site (it will use the Drupal.cz distribution).
    • composer install
    • If this is first time you are setting up BLT, run composer run-script blt-alias
    • blt setup:git-hooks (Learn more about BLT: https://blt.readthedocs.io/)
    • cd docroot
    • drush si dcz
    • 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

drupalcz's People

Contributors

radimklaska avatar petrillek avatar miromichalicka avatar mareksotak avatar martincollar avatar martin-klima avatar jakubsuchy avatar kmajzlik avatar ibobik avatar bjaspan avatar jyyna avatar parisek avatar miloskroulik avatar berkas1 avatar gitter-badger avatar jirismid avatar nlisgo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.