README 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. README (English)
  2. Path: /dolibarr/build/README
  3. ##################################################
  4. Building packages
  5. ##################################################
  6. All sub-directories of "build" directory contains files (setup or binary tools) required to build automatically Dolibarr packages.
  7. There are several tools:
  8. - To build full Dolibarr packages, launch the script
  9. > Launch command perl makepack-dolibarr.pl
  10. --------------------------------------------------------------------------------------------------
  11. Prerequisites to build tgz, debian, rpm package:
  12. > apt-get install tar dpkg dpatch p7zip-full rpm zip
  13. --------------------------------------------------------------------------------------------------
  14. Prerequisites to build autoexe DoliWamp package:
  15. > apt-get install wine q4wine
  16. > Launch "wine cmd" to check a drive Z: pointing to / exists.
  17. > Install InnoSetup
  18. For example by running isetup-5.5.8.exe (https://www.jrsoftware.org) https://files.jrsoftware.org/is/5/
  19. > Install WampServer into "C:\wamp64" to have Apache, PHP and MariaDB
  20. For example by running wampserver3.2.0_x64.exe (https://www.wampserver.com).
  21. See file build/exe/doliwamp.iss to know the doliwamp version currently setup.
  22. > Add path to ISCC into PATH windows var:
  23. Launch wine cmd, then regedit and add entry int HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment\PATH
  24. > To build manually the .exe from Windows (running from makepack-dolibarr.pl script is however recommanded),
  25. open file build/exe/doliwamp.iss and click on button "Compile".
  26. The .exe file will be build into directory build.
  27. --------------------------------------------------------------------------------------------------
  28. - To build a theme package, launch the script
  29. > perl makepack-dolibarrtheme.pl
  30. --------------------------------------------------------------------------------------------------
  31. - To build a package for a module, launch the script
  32. > perl makepack-dolibarrmodule.pl
  33. --------------------------------------------------------------------------------------------------
  34. - To build developper documentation, launch the script
  35. > perl dolibarr-doxygen-build.pl
  36. --------------------------------------------------------------------------------------------------
  37. Note:
  38. The build directory and all its contents is absolutely not required to make Dolibarr working.
  39. It is here only to build Dolibarr packages, and those generated packages will not contains this "build" directory.
  40. You can find in "build", following sub-directories:
  41. * composer
  42. To test an upgrade of a lib.
  43. * debian
  44. To build Debian package.
  45. * dmg:
  46. To build Mac OS package (not ready yet).
  47. * doap:
  48. To build Doap descriptor to promote/describe Dolibarr releases.
  49. * docker:
  50. To deploy Dolibarr with docker.
  51. * doxygen:
  52. Dir with config file to build doxygen documentation.
  53. * exe:
  54. To build exe package for Windows that distribute Dolibarr sources or
  55. to build the complete DoliWamp package.
  56. * gource:
  57. To build the video of history of git changes.
  58. * launchpad:
  59. Doc file to explain how to use launchpad.
  60. * obs:
  61. Doc file to explain how to push release onto OBS.
  62. * pad:
  63. To build a PAD file descriptor to promote/describe Dolibarr releases.
  64. * patch:
  65. Script file to generate a patch file to distribute a Dolibarr mod.
  66. * perl:
  67. Tool to install dolibarr when using virtualmin pro
  68. * rpm:
  69. To build Redhat, Opensuse or Mandriva package.
  70. * tgz:
  71. To build a tgz package.
  72. * travis-ci:
  73. Used by travis to make CI.
  74. * zip:
  75. To build a zip package.