Identification



Welcome, Guest
Please Login or Register.    Lost Password?

SQL-Demo-Restore a class to manage online demos
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: SQL-Demo-Restore a class to manage online demos
#21265
SQL-Demo-Restore a class to manage online demos 7 Months, 2 Weeks ago Karma: 6
Hello,

I have created for my own needs a PHP5 class to automatically manage the reset of an online demo of Dolibarr from a sql file (to reset the MySQL database) and zip archive (to reset the files structure).

Everything is in pure php and thus does not require any external library (other than the ones included, thus there's no need for any php extension and compilation).

This class is opensource under LGPLv3+ and can be downloaded here:
github.com/lrq3000/SQL-Demo-Restore

Note: as for where to find sql demo dumps for Dolibarr, they are directly included inside the Dolibarr archives, inside the path /dolibarr/dev/initdata/mysqldump_dolibarr_3.x.x.sql - where 3.x.x is the version of Dolibarr you have).
lrq3000
Senior Boarder
Posts: 70
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2012/10/09 12:31 By lrq3000.
The administrator has disabled public write access.
 
#21293
Re:SQL-Demo-Restore a class to manage online demos 7 Months, 1 Week ago Karma: 0
good job, will try it out.
whythehellnot
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1