dolibarr/dev/initdemo
moreauftheobald 4b9a5db62f
Tracking conf->module->enabled 1 (#31895)
* Fix Php 8 warning on commande dispach

* Tracking $conf->module->enabled

---------

Co-authored-by: Theobald <f.moreau@theobald-groupe.com>
2024-11-15 23:02:49 +01:00
..
documents_demo Nicer page of widget setup 2021-04-15 13:22:03 +02:00
.gitignore Can add sql action after an initdemo 2021-04-30 11:13:24 +02:00
initdemo.sh Prepare 20.0 2024-06-20 11:45:15 +02:00
initdemopassword.sh Fix can disable port on command line 2024-02-25 22:01:20 +01:00
mysqldump_dolibarr_3.5.0.sql Tracking conf->module->enabled 1 (#31895) 2024-11-15 23:02:49 +01:00
mysqldump_dolibarr_20.0.0.sql Debug v20 2024-06-23 13:57:35 +02:00
README.md Qual: Clean up (spelling/shellcheck) initdemo/initdata files (#28195) 2024-02-16 13:09:40 +01:00
removeconfdemo.sh Qual: Ignore most shellcheck annotations, fix some (#27452) 2024-01-12 21:03:08 +01:00
savedemo.sh Qual: Ignore most shellcheck annotations, fix some (#27452) 2024-01-12 21:03:08 +01:00
sftpget_and_loaddump.php fix param 2024-01-20 09:22:38 +01:00
updatedemo.php fix phpcs 2023-12-04 10:24:06 +01: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 many 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.