this script sets up a project enviroment, clones repo, pulls db and media, and generates docker container for a holzmarkt web project.
  • Shell 82.3%
  • PHP 17.7%
Find a file
2025-04-16 14:15:12 +02:00
.src drupal 2025-04-15 17:35:05 +02:00
.gitignore IDE 2025-04-16 14:15:12 +02:00
composer.json IDE 2025-04-16 14:15:12 +02:00
composer.lock IDE 2025-04-16 14:15:12 +02:00
init drupal 2025-04-15 17:35:05 +02:00
Public Website Themes.code-workspace IDE 2025-04-16 14:15:12 +02:00
README.md Update README.md 2025-04-11 10:38:06 +00:00
settings init 2025-04-11 12:36:06 +02:00

  1. needed parameters: repo name, url, ssh connection. if something is missing, it gets it from the .env file. arguments override .env file values.
  2. then it pulls the sql dump, repo and plugins. it also gets all media files hosted.
  3. after everything is ready, it generates a docker-compose.yml file and starts the container.

tested

with wordpress, no drupal yet. nur auf meinem computer bisher. ./init --repo wp-theme-katerblau --ssh root@web.holzmarkt-it.de --url katerblau.de

TODO

  • teile des scripts könnten zum updaten der daten wiederverwendet werden?