Hi Dolibarr developers,

I've been working on a full featured module template to ease module
development.
It's far from complete and certainly have some bugs lurking inside but
should be a convenient base to start a new module.
It only supports 3.2.x for now. (All three branches are the same but are to
follow the main repository organisation : master = current stable, 3.2 =
maintenance branch, develop =  future version branch)

You can find it on GitHub :
https://github.com/rdoursenaud/dolibarr-module-template

We've already used it successfully to develop some very specific modules
for our clients here at GPC.solutions.
It's GPLv3 licenced.
Feel free to use it to bootstrap your new awesome modules.
I'd love to have some feedback. Comments and pull requests will be much
appreciated !

Only two steps are required to start playing with it :

   - activate your custom directory inside your dolibarr development
   environment by de-commenting the $dolibarr_main_url_root_alt and
   $dolibarr_main_document_root_alt lines from your htdocs/conf/conf.php file
   - clone the repo in your htdocs/custom dir as mymodule

You might also be interested by a small and dumb git hook I wrote in Python
that switches databases for me as I switch branches :
https://github.com/rdoursenaud/dolibarr-git-hooks

Thanks to Florian Henry for providing the motivation to publicize these ;)

Cheers,
-- 
*Raphaël Doursenaud*
05 35 53 97 13 - 06 68 48 20 10
rdoursen...@gpcsolutions.fr

-- 
 <http://gpcsolutions.fr>
http://gpcsolutions.fr
Technopole Hélioparc
2 avenue du Président Pierre Angot
64053 PAU CEDEX 9
SARL GPC.solutions au capital de 7 500 € - R.C.S. PAU 528 995 921
_______________________________________________
Dolibarr-dev mailing list
Dolibarr-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à