Skip to content

Latest commit

 

History

History
55 lines (45 loc) · 1.66 KB

README.md

File metadata and controls

55 lines (45 loc) · 1.66 KB

dolibarr-vagrant

Vagrant machine configured for Dolibarr development built with PuPHPet

How to use

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

Stack

  • 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:
  • XDebug
  • Xhprof
  • Mailhog
  • Composer

Usage

  • 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 access

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

Extra utilities