Improved the data load during the setup:

- Sample data are clearly separated from the structure data (inc. menus and user profiles)
- Both categories of data are enumerated from specific folders

SVN:trunk[100]
This commit is contained in:
Romain Quetiez
2009-08-24 16:40:11 +00:00
parent a8946fbfdb
commit bed32711d6
13 changed files with 72 additions and 47 deletions

View File

@@ -0,0 +1,7 @@
SET WEBROOT=http://localhost:81
SET USER=admin
SET PWD=admin
REM The order (numbering) of the files is important since
REM it dictates the order to import them back
wget --output-document=1.menus.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT menuNode WHERE type%%3D%%27application%%27&format=xml"