Laurent Destailleur 6b94d60d9a Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop há 2 anos atrás
..
documents_demo 09365c29c9 Nicer page of widget setup há 4 anos atrás
.gitignore 1e1ea053bd Can add sql action after an initdemo há 4 anos atrás
README.md 066e041783 Doc há 2 anos atrás
initdemo.sh fc3b8e3b01 Hide password in dialog há 3 anos atrás
initdemopassword.sh c6ae2bb051 Typo há 2 anos atrás
mysqldump_dolibarr_17.0.0.sql 2df7dfa05f fix dump of 17 há 2 anos atrás
mysqldump_dolibarr_3.5.0.sql ded385f12e FIX #17650 #17710 há 4 anos atrás
removeconfdemo.sh 569d59d251 FIX change my deprecated email há 6 anos atrás
savedemo.sh 969cefd272 Clean demo file há 2 anos atrás
sftpget_and_loaddump.php d611b99d95 GNU version 3 há 3 anos atrás
updatedemo.php d611b99d95 GNU version 3 há 3 anos atrás

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.