Vagrant machine configured for Dolibarr development built with PuPHPet
Mimic the following directory structure
|
\-- dolibarr (your copy of dolibarr project)
\-- dolibarr-vagrant (your copy of dolibarr-vagrant project)
Now you are ready to start you Vagrant machine.
Remember to update the OS regularly and to add the vhost dolibarr.local
to your hosts file. How?
After Puppet provision, you must reboot MySQL service so that the strict mode gets applied. To do so:
1. vagrant ssh
2. sudo service mysql restart
- OS: Ubuntu 16.04.3 LTS
- 512 MB
- HTTP server: Apache/2.4.29 (Ubuntu)
- PHP: 7.2.3-1+ubuntu16.04.1+deb.sury.org+1
- Database servers:
- MySQL 5.7.21 MySQL Community Server (GPL)
- PostgreSQL 9.6.8 (remember to follow this tutorial https://gist.github.com/ffmike/877447 after provisioning the VM)
- XDebug
- Xhprof
- Mailhog
- Composer
- IP: 192.168.42.101
- Vhost: dolibarr.local
- Root user: root
- Root password: root
- MySQL:
- user/user for db dolibar
- root/root
- Initial dolibarr data: dev/initdata/mysqldump_dolibarr-6.0.0.sql
- PostgreSQL:
- postgres/123
DB connections outside the machine are not allowed. You must connect through a SSH tunnel. You can find the private key for vagrant user in puphpet/files/dot/ssh/id_rsa
- Mailhog: Useful to intercept and read all outgoing emails. Accesible at http://dolibarr.local:8025
- XHProf: a function-level hierarchical profiler for PHP. You can access it through http://192.168.42.101/xhprof/xhprof_html/