ymcatwincities/openy-cibox-vm
Composer 安装命令:
composer require ymcatwincities/openy-cibox-vm
包简介
OpenY VM based on open source project http://cibox.tools
README 文档
README
This Vagrant Box allows you to make a contribution into OpenY in a few minutes. Just follow steps and then you'll know how to do it.
Pre-requirements
- Install Vagrant
- Install VirtualBox
Windows users
- Install Cygwin
- Run Cygwin as Administrator user.
Usage
1. Vagrant provision
- Run Vagrant with full provisioning (recommended)
vagrant up --provision && vagrant ssh
2. Local build
Unix users
- Run commands
cd /var/www/docroot
sh reinstall.sh
Windows users
- Run commands
cd /var/www/docroot
sh reinstall.sh --windows
3. Contribute
- Change code only in
docroot/contrib/profiles/openy, commit & push it into your fork - Read contribution guide how to contribute
Host updates
By default your site will be accessible this url - http://drupal.192.168.56.132.xip.io.
If xip.io not working - create row with 192.168.56.132 drupal.192.168.56.132.xip.io in /etc/hosts.
Reinstall options
Vanilla installation
In order to install OpenY with default settings:
cd /var/www/docroot
sh reinstall.sh
This site will be available at http://drupal.192.168.56.132.xip.io.
Upgrade path installation
In order to install OpenY based on previous release + your updates:
cd /var/www/docroot
sh reinstall_upgrade.sh
This site will be available at http://upgrade.drupal.192.168.56.132.xip.io.
Installation process
In order to get access to installation process:
cd /var/www/docroot
sh reinstall_install.sh
This site will be available at http://install.drupal.192.168.56.132.xip.io.
Visual Studio Code
To use xdebug for Visual Studio Code install https://gist.github.com/podarok/732ba655939ba9be3304e57b9bb5b2c3 into .vscode/launch.json Once enabled listening in VSCode it'll catch enabled options or breakpoints.
Tools
Adminer
Adminer for MySQL administration is not included to the project by default. But you can download it from Adminer site and put it to the project folder (near the folder docroot) on the host machine. Credentials are: drupal:drupal or root:root.
http://192.168.56.132.xip.io/adminer.php
PHP Profiler XHProf
It is installed by default, but to use it as Devel module integration use:
drush en devel -y drush vset devel_xhprof_enabled 1 drush vset devel_xhprof_directory '/usr/share/php' && drush vset devel_xhprof_url '/xhprof_html/index.php' ln -s /usr/share/php/xhprof_html xhprof_html
After vset devel_xhprof_enabled it could return an error about "Class 'XHProfRuns_Default' not found" - ignore it.
Other
- XDebug
- Drush
- Docker
- Composer
- Adminer
- XHProf
- PHP Daemon
- PHP, SASS, JS sniffers/lints/hints
ymcatwincities/openy-cibox-vm 适用场景与选型建议
ymcatwincities/openy-cibox-vm 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 52.27k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2017 年 03 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 ymcatwincities/openy-cibox-vm 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ymcatwincities/openy-cibox-vm 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 52.27k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 9
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2017-03-27