ymcatwincities / openy-cibox-vm
OpenY VM based on open source project http://cibox.tools
Installs: 44 429
Dependents: 3
Suggesters: 0
Security: 0
Stars: 1
Watchers: 7
Forks: 1
Open Issues: 14
Language:JavaScript
Type:cibox-vm
Requires
- oomphinc/composer-installers-extender: ^1.1 || ~2.0.0
- dev-master
- 1.2
- 1.1.1
- 1.1.0
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-snyk-fix-94db33a9b5665cfb0fb685e5f67bf345
- dev-snyk-fix-f02ba71d04b66685a99acb8ba92c7cb8
- dev-snyk-fix-1ddc72f8a0c479eead0e6670cf3c01aa
- dev-snyk-fix-41804fb09ad4befe4ebf12cddc5653ca
- dev-snyk-fix-19013f5e293df9c71f68bf9631fba9f2
- dev-snyk-fix-3f78e10c58afda01c30ffbfd75477131
- dev-snyk-upgrade-c10ea3c8666b5b22429d3e747ff879aa
- dev-snyk-upgrade-16f05d45077304dc42ee52a9fca7f291
- dev-snyk-upgrade-b83b42b3631c4f3ae461bdbe42e28cca
- dev-snyk-upgrade-532e2c12695f5a11e12e823bccf6516b
- dev-snyk-fix-5c35a6fcce9a99be5f2075759c8a3425
- dev-snyk-fix-84e446cbc8aa1506ed55902e1b08c080
- dev-snyk-fix-d3e304fdb18d8e743e047d064f2eeebe
- dev-snyk-fix-45a393004964497d68443389076d755a
- dev-php7.4
This package is auto-updated.
Last update: 2024-10-27 18:52:27 UTC
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