terminus-plugin-project/terminus-site-mount-plugin
Composer 安装命令:
composer require terminus-plugin-project/terminus-site-mount-plugin
包简介
Site Mount - A Terminus plugin to mount Pantheon sites.
README 文档
README
Terminus plugin to mount Pantheon site environments.
Usage:
terminus [site:]mount|[site:]u(n)mount site-name.env [--dir=<directory> --drive=<drive letter>]
By default, the site environment will be mounted in $HOME/site-name.env (Linux / Mac only).
If you want to mount in a different directory, use the --dir=<directory> option.
Keep in mind, if you mount in a different directory, you will also need to specify the same --dir option when unmounting.
The --drive=<drive letter> option is only necessary on Windows. The values can be 'first', 'last' or any available drive letter.
The default is --drive=first which means the first available drive letter.
Examples:
Mount the site environment awesome-site.dev.
terminus mount awesome-site.dev [--dir=<directory>]
Unmount the site environment awesome-site.dev.
terminus unmount awesome-site.dev [--dir=<directory>]
Learn more about Terminus and Terminus Plugins.
Prerequisites:
Executable mount, umount and sshfs commands must exist (Linux / Mac only).
Mac OSX:
- Download and install the latest release of osxfuse-x.x.x.dmg.
- Install sshfs via
brew install sshfs
Linux:
- Debian-based (Debian, Linux Mint, Ubuntu and derivatives):
sudo apt-get update && sudo apt-get install sshfs - RedHat-based (RedHat, Fedora, CentOS and derivatives):
sudo yum install sshfs
Windows:
- Download and install SFTP Net Drive 2017.
Installation:
For installation help, see Extend with Plugins.
mkdir -p ~/.terminus/plugins
composer create-project -d ~/.terminus/plugins terminus-plugin-project/terminus-site-mount-plugin:~2
Configuration:
This plugin requires no configuration to use.
Testing:
Replace my-test-site with the site you want to test:
export TERMINUS_SITE=my-test-site
cd ~/.terminus/plugins/terminus-site-mount-plugin
composer install
composer test
Help:
Run terminus help site:mount for help.
terminus-plugin-project/terminus-site-mount-plugin 适用场景与选型建议
terminus-plugin-project/terminus-site-mount-plugin 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 137 次下载、GitHub Stars 达 6, 最近一次更新时间为 2017 年 01 月 21 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「plugin」 「pantheon」 「terminus」 「mount」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 terminus-plugin-project/terminus-site-mount-plugin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 terminus-plugin-project/terminus-site-mount-plugin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 terminus-plugin-project/terminus-site-mount-plugin 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
A Terminus plugin for defrosting frozen Pantheon sites.
Pantheon plugin to deploy upstream branch / features to specified branches before committing to master environment.
Backup All - A Terminus plugin to backup all available Pantheon sites with one command.
Site Status - A Terminus plugin that displays the status of all available Pantheon site environments.
Autocomplete - A Terminus plugin to help provide tab completion for commands.
统计信息
- 总下载量: 137
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-01-21