dolibarr/dev/initdemo
Laurent Destailleur ae3fa68698 Clean dump file
2026-06-04 23:28:05 +02:00
..
documents_demo Move files 2026-02-18 23:56:08 +01:00
.gitignore Test 2026-02-19 01:01:46 +01:00
initdemo.sh Enhance test tool 2026-05-27 23:03:44 +02:00
initdemopassword.sh
mysqldump_dolibarr_3.5.0.sql Debug cash control feature 2026-01-04 18:55:36 +01:00
mysqldump_dolibarr_24.0.0.sql Clean dump file 2026-06-04 23:28:05 +02:00
README.md Fix initdemo 2024-11-27 16:37:14 +01:00
removeconfdemo.sh
savedemo.sh Fix CI 2026-02-21 12:22:59 +01:00
sftpget_and_loaddump.php exit code must be >= 0 (#35311) 2025-09-12 02:29:23 +02:00
updatedemo.php Merge branch 'lne_audit_init_20260601' of 2026-06-03 19:44:59 +02:00

README

The scripts in this directory can be used to reload or save a demo database. The package dialog is required.

Init demo

The script initdemo.sh will erase the current database with data from dev/initdemo/mysqldump_dolibarr_x.y.z.sql and copy files from documents_demo to the official document directory.

You may need to execute chmod 700 initdemo.sh then run ./initdemo.sh to launch the Graphical User Interface.

After loading the demo files, the admin login may be one of the following:

  • admin / admin or
  • admin / adminadmin

Update demo

The goal of the script dev/initdemo/updatedemo.php is to update the dates in the demo data so that samples are up to date.

Save demo

The script dev/initdemo.savedemo.sh will save the current database into a database dump file.