dolibarr/dev/initdemo
MDW 5d69728703
Qual: Apply beautysh (#27395)
# Qual: Apply beautysh

Beautysh the shell scripts.
Also fixed some spelling.
2024-01-10 19:47:29 +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 Qual: Apply beautysh (#27395) 2024-01-10 19:47:29 +01:00
initdemopassword.sh Qual: Apply beautysh (#27395) 2024-01-10 19:47:29 +01:00
mysqldump_dolibarr_3.5.0.sql Add more REST phpunit tests 2023-08-25 14:48:41 +02:00
mysqldump_dolibarr_19.0.0.sql Fix demo 2024-01-03 17:46:41 +01:00
README.md Doc 2023-03-16 12:35:06 +01:00
removeconfdemo.sh Qual: Apply beautysh (#27395) 2024-01-10 19:47:29 +01:00
savedemo.sh Qual: Apply beautysh (#27395) 2024-01-10 19:47:29 +01:00
sftpget_and_loaddump.php fix phpcs 2023-12-04 10:24:06 +01:00
updatedemo.php fix phpcs 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.