Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 944 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 944 Bytes

dolidev

Easily setup a local dev environment for Dolibarr

How to use it?

Easy-peasy:

git clone https://github.com/vold-lu/dolidev.git
cd dolidev

./dolidev up --seed # Spawn a Dolibarr instance and optionally seed the database
./dolidev down # Stop the Dolibarr instance
./dolidev down --rm # Remove the Dolibarr instance (wipe files on disk)

On MacOs

Since Apple is BSD based some things are failing.

Therefore MacOs users will need to install gnu-{getopt,sed} using brew and then change the .env to point to the location:

brew install gnu-getopt gnu-sed
echo "GETOPT_CMD=$(brew --prefix gnu-getopt)/bin/getopt" >> .env
echo "SED_CMD=gsed" >> .env

How to configure it?

You can customize the version and the instance of Dolibarr to be deployed like this:

echo "DOLIBARR_URL=https://github.com/vold-lu/dolibarr" >> .env
echo "DOLIBARR_VERSION=17.0" >> .env