承接 imagex/swat 相关项目开发

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

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

imagex/swat

Composer 安装命令:

composer require imagex/swat

包简介

A Robo CLI tool for ImageX Projects in Drupal 8+

README 文档

README

SWAT 5 Logo

(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:

  1. DDEV - https://ddev.readthedocs.io/
  2. Composer - https://getcomposer.org/
  3. PHP >=8.1
Available Commands

Run ddev swat list to get a listing of available commands.

GETTING STARTED

New projects must use Drupal 11.

  1. 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>
  2. cd <project-name>
  3. rm -rf .git
  4. ddev config --docroot=docroot --project-type=drupal11 --php-version=8.3 --composer-version=2.8.12
    • Pantheon/Platform.sh: Use web for --docroot
    • YUSA / OpenY: Use drupal10 for --project-type
  5. Modify PHP version to match your remote host
  6. Initialize a new git repository
    • git init
    • git add .
    • git commit -m "Initial commit"
  7. ddev composer install
  8. ddev swat setup
  9. Modify ddev/config.yaml for any stack changes
    • DB, NodeJS, composer, etc versions to match your remote host
    • Custom services, if needed
  10. ddev restart
  11. ddev swat install
  12. Export your config.
    • Check/Setup config splits as well
  13. Setup your git remote in swat/swat.yml (see example below)
  14. Push your code to Bitbucket:
    • git remote add origin git@bitbucket.org:example/example.git
    • git 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.

imagex/swat 适用场景与选型建议

imagex/swat 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 193.56k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 01 月 18 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 imagex/swat 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 imagex/swat 我们能提供哪些服务?
定制开发 / 二次开发

基于 imagex/swat 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-01-18