Files
dolibarr/dev/initdemo
Laurent Destailleur 42329b10c9 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	build/generate_filelist_xml.php
	htdocs/comm/propal/card.php
	htdocs/commande/card.php
	htdocs/compta/facture/card.php
	htdocs/core/class/commonobject.class.php
	htdocs/core/lib/modulebuilder.lib.php
	htdocs/fourn/commande/card.php
	htdocs/fourn/facture/card.php
	htdocs/supplier_proposal/card.php
	htdocs/ticket/list.php
2021-03-02 15:27:20 +01:00
..
2020-12-13 19:33:48 +01:00
2020-12-21 01:50:16 +01:00
2020-12-10 15:47:34 +01:00
2020-12-21 01:50:16 +01:00
2019-12-05 13:01:02 +01:00
2021-03-01 00:19:52 +01:00

README
------

Scripts in this directory can be used to reload or save a demo database.
Install of package "dialog" is required.


*** Init demo

The script initdemo.sh will erase current database with data into mysqldump_dolibarr_x.y.z.sql and copy files into documents_demo into officiel document directory.

Do a chmod 700 initdemo.sh
then run ./initdemo.sh to launch Graphic User Interface.

After loading the demo files, admin login may be:
- admin / admin
or
- admin / adminadmin


*** Save demo

The script savedemo.sh will save current database into a database dump file.


*** Update demo

The goal of script updatedemo.php is to update dates into the demo data so samples are up to date.