dolibarr/build
Laurent Destailleur daca510fa6 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
Conflicts:
	build/docker/docker-compose.yml
2022-01-23 18:52:47 +01:00
..
composer Minor fixes in css 2016-11-12 16:39:08 +01:00
debian Update README.howto 2021-05-02 18:55:23 +02:00
dmg/dolimamp Qual: remove PHP closing tag (again) 2014-05-26 13:51:25 +02:00
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 Update doc 2016-10-30 14:28:30 +01:00
obs Update README 2020-02-25 13:37:39 +01:00
pad Fix english 2017-02-09 22:02:37 +01:00
patch
pdf Update htmldoc_en.book 2021-04-02 21:42:02 +02:00
perl/virtualmin FIX update dolibarr.pl for Virtualmin 2020-10-13 12:06:28 +02:00
phpstan Rename REAME to README 2021-05-03 13:55:08 +02:00
rpm Update README 2021-05-02 19:22:52 +02:00
sitemap Update README 2021-04-02 21:39:25 +02:00
tgz Fix: Solve problem of _source directory. 2014-04-13 01:28:44 +02:00
travis-ci Try to trap apache log 2019-01-19 17:38:05 +01:00
zip Fix: Solve problem of _source directory. 2014-04-13 01:28:44 +02:00
.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 Accept the custom folder #7408 2017-09-15 14:40:51 +02:00
makepack-dolibarrtheme.pl Remove hardcoded strings 2013-11-30 10:58:43 +01:00
makepack-howto.txt Update doc 2019-01-16 20:56:11 +01: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.