imagex/swat
最新稳定版本:7.0.0
Composer 安装命令:
composer require imagex/swat
包简介
A Robo CLI tool for ImageX Projects in Drupal 8+
README 文档
README

(SUPER WICKED AWESOME TOOL)
SWAT is meant to be a helper for projects within ImageX. It provides a DDEV setup, some templated Bitbucket pipelines and deployment helpers. And it's super wicked awesome.
Requirements
SWAT requires the following to run:
- DDEV - https://ddev.readthedocs.io/
- Composer - https://getcomposer.org/
- PHP >=8.1
Available Commands
Run ddev swat list to get a listing of available commands.
GETTING STARTED
New projects must use Drupal 11.
git clone git@bitbucket.org:ixm/swat-project-template.git <project-name>- YUSA / OpenY:
git clone --branch=yusa git@bitbucket.org:ixm/swat-project-template.git <project-name>
- YUSA / OpenY:
cd <project-name>rm -rf .gitddev config --docroot=docroot --project-type=drupal11 --php-version=8.3 --composer-version=2.8.12- Pantheon/Platform.sh: Use
webfor--docroot - YUSA / OpenY: Use
drupal10for--project-type
- Pantheon/Platform.sh: Use
- Modify PHP version to match your remote host
- Initialize a new git repository
git initgit add .git commit -m "Initial commit"
ddev composer installddev swat setup- Modify
ddev/config.yamlfor any stack changes- DB, NodeJS, composer, etc versions to match your remote host
- Custom services, if needed
ddev restartddev swat install- Export your config.
- Setup your git remote in
swat/swat.yml(see example below) - Push your code to Bitbucket:
git remote add origin git@bitbucket.org:example/example.gitgit add . && git commit -m "PROJ-1: Initial Setup for <project>."git push -u origin master
Git Remote Setup:
Example of Git config in swat.yml for remote:
git:
default_branch: develop
remotes:
cloud: 'ixmcomponents@svn-4707.devcloud.hosting.acquia.com:ixmcomponents.git'
user:
name: 'ImageX Media'
email: no-reply@imagexmedia.com
Hosting Provider
See our internal documentation: Configuring your hosting provider files
See DDEV documentation: Hosting Provider Integration
Existing Projects
Existing projects generally should be manually upgraded until such an update script exists.
统计信息
- 总下载量: 156.95k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-01-18