dolibarr/build
Laurent Destailleur 40d0c3b996 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/compta/tva/card.php
	htdocs/langs/en_US/admin.lang
2022-04-28 19:23:13 +02:00
..
composer
debian Update README.howto 2021-05-02 18:55:23 +02:00
dmg/dolimamp
doap
docker Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-01-23 18:52:47 +01:00
doxygen Fix title 2021-03-20 01:22:09 +01:00
exakat Look and feel v11 2019-11-12 17:37:05 +01:00
exe/doliwamp Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0 2021-05-06 16:57:49 +02:00
flatpack fix 2019-09-05 16:37:30 +02:00
gource Filter 2019-10-18 15:12:07 +02:00
launchpad
obs Update README 2020-02-25 13:37:39 +01:00
pad Update README 2022-02-17 20:27:19 +01:00
patch
pdf Update htmldoc_en.book 2021-04-02 21:42:02 +02:00
perl/virtualmin Update dolibarr.pl 2022-02-17 20:36:07 +01:00
phpstan Rename REAME to README 2021-05-03 13:55:08 +02:00
rpm Fix packages 2022-02-17 23:41:31 +01:00
sitemap Update README 2021-04-02 21:39:25 +02:00
tgz
travis-ci Try to trap apache log 2019-01-19 17:38:05 +01:00
zip
.gitignore remove duplicate entries 2019-11-12 16:17:23 +01:00
generate_filelist_xml.php Fix filename 2021-09-13 02:47:27 +02:00
makepack-dolibarr.pl FIX #16366 2021-03-02 00:48:02 +01:00
makepack-dolibarrmodule.conf
makepack-dolibarrmodule.pl
makepack-dolibarrtheme.pl
makepack-howto.txt Doc 2022-04-15 10:49:11 +02:00
README Update doc 2021-01-09 13:24:03 +01:00

README (English)

Path: /dolibarr/build/README

##################################################
Building packages
##################################################

All sub-directories of "build" directory contains files (setup or binary tools) required to build automatically Dolibarr packages.
The build directory and all its contents is absolutely not required to make Dolibarr working. 
It is here only to build Dolibarr packages, and those generated packages will not contains this "build" directory.


There are several tools:


- To build full Dolibarr packages, launch the script
> Launch command perl makepack-dolibarr.pl

--------------------------------------------------------------------------------------------------


Prerequisites to build tgz, debian and rpm packages:
> apt-get install tar dpkg dpatch p7zip-full rpm zip


--------------------------------------------------------------------------------------------------

Prerequisites to build autoexe DoliWamp package:
> apt-get install wine q4wine
> Launch "wine cmd" to check a drive Z: pointing to / exists.
> Install InnoSetup
   For example by running isetup-5.5.8.exe (https://www.jrsoftware.org)  https://files.jrsoftware.org/is/5/
> Install WampServer into "C:\wamp64" to have Apache, PHP and MariaDB
   For example by running wampserver3.2.0_x64.exe (https://www.wampserver.com). 
   See file build/exe/doliwamp.iss to know the doliwamp version currently setup.
> Add path to ISCC into PATH windows var:
  Launch wine cmd, then regedit and add entry int HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment\PATH
> To build manually the .exe from Windows (running from makepack-dolibarr.pl script is however recommanded), 
  open file build/exe/doliwamp.iss and click on button "Compile".
  The .exe file will be build into directory build.

--------------------------------------------------------------------------------------------------
  
- To build a theme package, launch the script
> perl makepack-dolibarrtheme.pl


--------------------------------------------------------------------------------------------------

- To build a package for a module, launch the script
> perl makepack-dolibarrmodule.pl


--------------------------------------------------------------------------------------------------

- To build developper documentation, launch the script
> perl dolibarr-doxygen-build.pl


--------------------------------------------------------------------------------------------------


You can find in "build", following sub-directories:

* composer
To test an upgrade of a lib.

* debian
To build Debian package.

* dmg:
To build Mac OS package (not ready yet).

* doap:
To build Doap descriptor to promote/describe Dolibarr releases.

* docker:
To deploy Dolibarr with docker.

* doxygen:
Dir with config file to build doxygen documentation.

* exe:
To build exe package for Windows that distribute Dolibarr sources or
to build the complete DoliWamp package.

* gource:
To build the video of history of git changes.

* launchpad:
Doc file to explain how to use launchpad.

* obs:
Doc file to explain how to push release onto OBS.

* pad:
To build a PAD file descriptor to promote/describe Dolibarr releases.

* patch:
Script file to generate a patch file to distribute a Dolibarr mod.

* perl:
Tool to install dolibarr when using virtualmin pro

* rpm:
To build Redhat, Opensuse or Mandriva package.

* tgz:
To build a tgz package.

* travis-ci:
Used by travis to make CI.

* zip:
To build a zip package.