2
0
forked from Wavyzz/dolibarr
Files
dolibarr-fork/dev/initdemo
Laurent Destailleur cc5a5d63ef Fix initdemo script
2023-07-02 21:05:36 +02:00
..
2021-04-15 13:22:03 +02:00
2022-02-07 15:46:02 +01:00
2023-07-02 21:05:36 +02:00
2021-05-26 11:24:29 +02:00
2023-06-22 15:19:42 +02:00
2020-12-21 01:50:16 +01:00
2023-03-15 16:19:14 +01:00
2021-11-09 03:01:48 +01:00
2021-11-09 03:01:48 +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.