2016-02-22 12:41:49 +01:00
README
2023-03-16 12:31:22 +01:00
======
2016-02-22 12:41:49 +01:00
2024-02-16 13:09:40 +01:00
The scripts in this directory can be used to reload or save a demo database.
The package `dialog` is required.
2017-02-21 12:09:55 +01:00
2023-03-16 12:31:22 +01:00
Init demo
-------------
2016-02-22 12:41:49 +01:00
2024-02-16 13:09:40 +01:00
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.
2016-02-22 12:41:49 +01:00
2024-11-27 16:22:17 +01:00
You may need to execute `chmod 700 initdemo.sh`
2024-02-16 13:09:40 +01:00
then run `./initdemo.sh` to launch the Graphical User Interface.
2016-02-22 12:41:49 +01:00
2024-02-16 13:09:40 +01:00
After loading the demo files, the admin login may be one of the following:
2020-12-21 01:50:16 +01:00
- admin / admin
or
- admin / adminadmin
2017-02-21 12:09:55 +01:00
2023-03-16 12:35:06 +01:00
Update demo
2023-03-16 12:31:22 +01:00
-------------
2017-02-21 12:09:55 +01:00
2024-02-16 13:09:40 +01:00
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.
2016-02-22 12:41:49 +01:00
2023-03-16 12:35:06 +01:00
Save demo
2023-03-16 12:31:22 +01:00
-------------
2016-02-22 12:41:49 +01:00
2024-02-16 13:09:40 +01:00
The script `dev/initdemo.savedemo.sh` will save the current database into a database dump file.