Skip to content

Repository contain integration scripts to start using deploy via ZenCI for DrupalCMS website

License

Notifications You must be signed in to change notification settings

bober2000/drupal-starter-kit

 
 

Repository files navigation

drupal-starter-kit

Repository contain integration scripts to start using deploy via ZenCI for DrupalCMS website

It has next structure

modules						# put your own custom modules here
libraries					# put your own custom libraries here
scripts						# deploy related scripts
  deploy_init.sh			# init script. It will be executed only if {deploy_dir} is empty
  drupal_install.sh			# download via drush Drupal and install it
  qa_deploy_init.sh			# QA init script. It will be executed only if {deploy_dir} is empty
  run-tests.sh				# ZenCI copy of scripts/ru-tests.sh
  test_drupal_install.sh	# download via drush Drupal 7.x git version and install it
  deploy_update.sh			# after script. It will be executed after each push to repository
  drupal_tests.php			# ZenCI wrapper for run-tests.sh. Report back to ZenCI tests status.
  qa_deploy_remove.sh		# Clean QA server when branch or PR removed.
  test_deploy_init.sh		# Tests init script. It will be executed to prepare Drupal for test.
settings					# meta data for deploy
  update					# place to put your scripts to run once when created
    example.sh				# example script
  enable.enable				# list of projects to enable
themes						# put your own custom themes here

Directory structure after deploy.

deploy_init.sh will create directory structure in $HOME/github

github:
  YOURNAME:
    drupal-starter-kit:	# your repository get cloned here
      modules: 			# your own modules
      themes: 			# your own themes
      libraries:		# your own libraries

Your DOCROOT will have full drupal code structure with next extra:

  • sites/all/modules:
contrib 
custom -> ~/github/YOURNAME/drupal-starter-kit/master/modules
  • sites/all/themes:
contrib 
custom -> ~/github/YOURNAME/drupal-starter-kit/master/themes
  • sites/all/libraries:
contrib 
custom -> ~/github/YOURNAME/drupal-starter-kit/master/libraries

Credits

License

This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.

About

Repository contain integration scripts to start using deploy via ZenCI for DrupalCMS website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 92.3%
  • PHP 7.7%