Skip to content
develop
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
blt
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Pokud používáte Lando

Inicializacie prostředí pro vývoj frontendu (kompilování SASS na CSS)

  • Spusťte lando composer run init-theme

NEBO

  • Zkopírujte si soubor sass.lando.local.yml do .lando.local.yml

  • Zkopírujte si soubor default.config_local.json do config_local.json

  • Spusťte lando rebuild -y

Kompilace SASS na CSS
  • Přepněte se do adresáře tématu cd docroot/themes/custom/dcz_theme

  • Pro kompilaci SASS na CSS použijte lando gulp css

  • Pro kompilaci všeho a čekání na změny použijte lando gulp

Pokud používáte jiné vývojové prostředí

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
      ./vendor/bin/blt blt:init:shell-alias
      source ~/.bash_profile
      
    • blt setup:git-hooks (Learn more about BLT: https://blt.readthedocs.io/)
    • cd docroot
    • drush si minimal --existing-config
    • Login to new site:
    • read admin password from console, or
    • drush uli
    • or drush upwd admin vase_heslo
  • If you want to have some default content for your development, import it
    • drush dcdi --force update
    • drush cr

Contributing

About

Drupal.cz community site repository (Drupal 8 version)

Topics

Resources

License

Sponsor this project

 

Packages

No packages published