承接 amazeelabs/silverback-cli 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

amazeelabs/silverback-cli

最新稳定版本:2.10.1

Composer 安装命令:

composer require amazeelabs/silverback-cli

包简介

Scaffolder for Amazee Silverback projects.

README 文档

README

This project is maintained in the silverback monorepo

Silverback CLI

amazeelabs/silverback-cli is a composer package adding tooling and configuration scaffolding to Amazee Drupal projects.

Features:

  • 🚀 Install Drupal in seconds.
  • 📸 Create/restore Drupal state snapshots instantly.

Installation

Important: Make sure your project is already under a version control system. Otherwise, it will be a mess.

  1. Make sure you have all dependencies installed. direnv is an important one.
  2. Add amazeelabs/silverback-cli to allowed-packages in composer.json. It should be the last one in the list. Example:
    "extra": {
      "drupal-scaffold": {
        "allowed-packages": [
          "amazeeio/drupal-integrations",
          "amazeelabs/silverback-cli"
        ]
      }
    }
    
  3. Make sure sites/default/settings.php exists. If it does not, copy it from sites/default/default.settings.php.
  4. Run
    composer require amazeelabs/silverback-cli
    direnv allow
    
  5. Check the VCS changes.

Usage

# To setup a fresh Drupal installation:
silverback setup --profile=minimal

# To restore a cached installation:
silverback setup

# To see other use cases:
silverback list
silverback help [command_name]

How it works

Silverback makes Drupal use an SQLite database in local environment. The database is located in the Drupal files directory. This means that the whole Drupal state is stored in a single directory.

Silverback puts this directory into install-cache.zip and reuses it the next time silverback setup is fired.

Snapshots work in the same way. They are just copies of the Drupal files directory.

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 10
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2020-09-10