tylerfahey / terminus-vm
此包的最新版本(1.1)没有提供许可证信息。
terminus 开发环境
1.1
2020-09-04 21:44 UTC
Requires
This package is auto-updated.
Last update: 2024-09-05 06:35:55 UTC
README
概述
这是一个预先配置的设置,用于进行 terminus 开发。
先决条件
- Docker (https://dockerd.com.cn)
- Docksal (https://docksal.io)
开始使用
- 在系统上的任何位置克隆存储库
- 如果您需要 Docker + Docksal,/scripts 文件夹中有安装脚本
- ./install-docker.sh
- ./install-docksal.sh
- 运行
composer install
来安装 terminus 依赖 - 运行
fin up
,它应该初始化一切,您将看到到 IDE 的链接
fin up
Starting services...
Creating network "terminus-vm_default" with the default driver
Creating volume "terminus-vm_cli_home" with default driver
Creating volume "terminus-vm_db_data" with default driver
Creating terminus-vm_db_1 ... done
Creating terminus-vm_cli_1 ... done
Creating terminus-vm_ide_1 ... done
Creating terminus-vm_web_1 ... done
Connected vhost-proxy to "terminus-vm_default" network.
Waiting for project stack to become ready...
Waiting for project stack to become ready...
Project URL: http://terminus-vm.docksal
Web IDE URL: http://ide-terminus-vm.docksal
- 在 IDE 中,应该准备好设置断点并运行 xDebug。
- 使用
fin bash
在容器内调用vendor/bin/terminus
,这将正确路由到浏览器中的 xDebug。