metadrop/scripthor 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

metadrop/scripthor

最新稳定版本:v4.0.0

Composer 安装命令:

composer require metadrop/scripthor

包简介

Swiss knife of scripts for speed up the development on drupal projects.

README 文档

README

Scripthor toolset

This is a swiss knife of scripts for speed up the development on drupal projects.

Works with drupal 8+ projects.

Usage

Drupal Composer Scripthor is used by requiring composer require metadrop/scripthor in your project.

Typically, the scaffold operations run automatically as needed, e.g. after composer install, so it is usually not necessary to do anything different to scaffold a project once the configuration is set up in the project composer.json file, as described below. To scripthor files directly, run:

Scripthor create symlinks

composer scripthor:create-symlinks

Scripts

backup.sh

Simple script to backup a Drupal site. It dumps the database using drush and tars anything under the web folder (this means it assumes the Drupal root is under the web folder).

Destination folder can be set using the first parameter. If nothing passed, the backups are placed under the backups folder.

$ scripts/backup.sh

Dumping database to ./backups/backups-automated/db/site-db-20210914-185115.sql-gz...OK!
Backuping codebase and files...OK!
Cleaning old backups...OK!

IMPORTANT! The script tries to backupo the default site. This means is not compatible with multisite setups. You can easily create your own script based on this for mulsites.

统计信息

  • 总下载量: 84.08k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 4
  • Forks: 10
  • 开发语言: Shell

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 未知

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固