Files
dolibarr/dev/initdemo
MDW c885c6917e Qual: Ignore most shellcheck annotations, fix some (#27452)
# Qual: Ignore most shellcheck annotations, fix some

Most shellcheck annotations are ignored - this is to make sure that ci
can work for existing scripts.

Some fixes were applied.

pre-commit script was beautyfied by temporarily suppressing the IFS= expression on 2 lines.
2024-01-12 21:03:08 +01:00
..
2021-04-15 13:22:03 +02:00
2024-01-03 17:46:41 +01:00
Doc
2023-03-16 12:35:06 +01:00
2023-12-04 10:24:06 +01:00
2023-12-04 10:24:06 +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 intodev/initdemo/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

Update demo

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

Save demo

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