Il y a 389 articles et 19 utilisateurs inscrits (ce bandeau est défini dans MediaWiki:Sitenotice)
Drupal gitignore
Aller à la navigation
Aller à la recherche
Il est une bonne pratique d'utiliser gitignore pour sécuriser le code
Voici un exemple de gitignore pour une Installation drupal
# gitignore template for Drupal 8 projects
#
# earlier versions of Drupal are tracked in `community/PHP/`
# Ignore configuration files that may contain sensitive information
web/sites/*/*settings*.php
web/sites/*/*services*.yml
# Ignore paths that may contain user-generated content
web/sites/*/files
web/sites/*/public
web/sites/*/private
web/sites/*/files-public
web/sites/*/files-private
# Ignore paths that may contain temporary files
web/sites/*/translations
web/sites/*/tmp
web/sites/*/cache
# Ignore testing related files
web/sites/simpletest
vendor/
# Ignore drupal core (if not versioning drupal sources)
web/core
web/modules/README.txt
web/profiles/README.txt
web/sites/README.txt
web/sites/example.sites.php
web/sites/example.settings.local.php
web/sites/development.services.yml
web/themes/README.txt
web/vendor/*
web/.csslintrc
web/.editorconfig
web/.eslintignore
web/.eslintrc.json
web/.gitattributes
web/.htaccess
web/autoload.php
web/composer.json
web/composer.lock
web/example.gitignore
web/index.php
web/LICENSE.txt
web/README.txt
web/robots.txt
web/update.php
web.config