Skip to content
This repository has been archived by the owner on Jan 13, 2018. It is now read-only.

Latest commit

 

History

History
executable file
·
89 lines (62 loc) · 1.94 KB

README.md

File metadata and controls

executable file
·
89 lines (62 loc) · 1.94 KB

CIBox

Installation

Usage

Up

vagrant up
vagrant ssh

Re-install

./ansible.sh reinstall

Tools

  • Drush
  • Adminer
  • Composer
  • XDebug
  • XHProf
  • Selenium 2
  • Sniffers, lints and hints for PHP, CSS, JS

Adminer

Adminer for MySQL administration (credentials drupal/drupal and root/root): http://192.168.56.112.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.

Linux Containers

When your system enpowered with linux containers(lxc), you can speedup a lot of things by using them and getting rid of virtualization. For approaching lxc, please install vagrant plugin.

vagrant plugin install vagrant-lxc
apt-get install redir lxc cgroup-bin

Also you may need to apply this patch: https://github.com/fgrehm/vagrant-lxc/pull/354.

When your system is enpowered by apparmor, you should enable nfs mounts for your host machine. Do that by editing /etc/apparmor.d/lxc/lxc-default file with one line

profile lxc-container-default flags=(attach_disconnected,mediate_deleted) {
  ...
    mount options=(rw, bind, ro),
  ...

and reload apparmor service:

sudo /etc/init.d/apparmor reload

and run the box by command:

VAGRANT_CI=lxc vagrant up

Windows Containers

  • Install Cygwin according to provided steps.
  • Run Cygwin as administrator.
  • Use default flow to up Vagrant.