2
0
forked from Wavyzz/dolibarr
Files
dolibarr-fork/dev/initdemo
Laurent Destailleur 7238f15d54 Add log
2021-09-27 12:40:09 +02:00
..
2021-04-15 13:22:03 +02:00
2021-09-27 12:40:09 +02:00
2021-05-26 11:24:29 +02:00
2020-12-21 01:50:16 +01:00
2021-04-15 19:14:43 +02: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.