Laurent Destailleur a48e541093 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 1 سال پیش
..
documents_demo 09365c29c9 Nicer page of widget setup 4 سال پیش
.gitignore 1e1ea053bd Can add sql action after an initdemo 4 سال پیش
README.md 066e041783 Doc 2 سال پیش
initdemo.sh fc3b8e3b01 Hide password in dialog 3 سال پیش
initdemopassword.sh b7599afc4d Add log 1 سال پیش
mysqldump_dolibarr_18.0.0.sql b619c534d7 Fix var 1 سال پیش
mysqldump_dolibarr_3.5.0.sql 256fe9ecf8 Add more REST phpunit tests 1 سال پیش
removeconfdemo.sh 569d59d251 FIX change my deprecated email 6 سال پیش
savedemo.sh 969cefd272 Clean demo file 2 سال پیش
sftpget_and_loaddump.php d611b99d95 GNU version 3 3 سال پیش
updatedemo.php d611b99d95 GNU version 3 3 سال پیش

README.md

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.