New installation procedure for roc demo example.
This commit is contained in:
2
examples/demo/.gitignore
vendored
Normal file
2
examples/demo/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
site/db/*
|
||||||
|
site/files/*
|
||||||
@@ -3,19 +3,4 @@ setlocal
|
|||||||
set ROC_CMD=call %~dp0..\..\tools\roc.bat
|
set ROC_CMD=call %~dp0..\..\tools\roc.bat
|
||||||
set ROC_CMS_DIR=%~dp0
|
set ROC_CMS_DIR=%~dp0
|
||||||
|
|
||||||
%ROC_CMD% install --module ..\..\modules\admin --dir %ROC_CMS_DIR%
|
%ROC_CMD% install --config roc.cfg
|
||||||
%ROC_CMD% install --module ..\..\modules\auth --dir %ROC_CMS_DIR%
|
|
||||||
%ROC_CMD% install --module ..\..\modules\basic_auth --dir %ROC_CMS_DIR%
|
|
||||||
%ROC_CMD% install --module ..\..\modules\blog --dir %ROC_CMS_DIR%
|
|
||||||
%ROC_CMD% install --module ..\..\modules\contact --dir %ROC_CMS_DIR%
|
|
||||||
%ROC_CMD% install --module ..\..\modules\feed_aggregator --dir %ROC_CMS_DIR%
|
|
||||||
%ROC_CMD% install --module ..\..\modules\google_search --dir %ROC_CMS_DIR%
|
|
||||||
%ROC_CMD% install --module ..\..\modules\node --dir %ROC_CMS_DIR%
|
|
||||||
%ROC_CMD% install --module ..\..\modules\oauth20 --dir %ROC_CMS_DIR%
|
|
||||||
%ROC_CMD% install --module ..\..\modules\openid --dir %ROC_CMS_DIR%
|
|
||||||
%ROC_CMD% install --module ..\..\modules\recent_changes --dir %ROC_CMS_DIR%
|
|
||||||
%ROC_CMD% install --module ..\..\modules\seo --dir %ROC_CMS_DIR%
|
|
||||||
%ROC_CMD% install --module ..\..\modules\session_auth --dir %ROC_CMS_DIR%
|
|
||||||
%ROC_CMD% install --module ..\..\modules\taxonomy --dir %ROC_CMS_DIR%
|
|
||||||
%ROC_CMD% install --module ..\..\modules\files --dir %ROC_CMS_DIR%
|
|
||||||
%ROC_CMD% install --module ..\..\modules\custom_block --dir %ROC_CMS_DIR%
|
|
||||||
|
|||||||
24
examples/demo/roc.cfg
Normal file
24
examples/demo/roc.cfg
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"name": "demo",
|
||||||
|
"project": "demo-safe.ecf",
|
||||||
|
"location": ".",
|
||||||
|
"site_directory": "site",
|
||||||
|
"modules": {
|
||||||
|
"admin": { "location": "../../modules/admin" },
|
||||||
|
"auth": { "location": "../../modules/auth" },
|
||||||
|
"basic_auth": { "location": "../../modules/basic_auth" },
|
||||||
|
"blog": { "location": "../../modules/blog" },
|
||||||
|
"contact": { "location": "../../modules/contact" },
|
||||||
|
"feed_aggregator": { "location": "../../modules/feed_aggregator" },
|
||||||
|
"google_search": { "location": "../../modules/google_search" },
|
||||||
|
"node": { "location": "../../modules/node" },
|
||||||
|
"oauth20": { "location": "../../modules/oauth20" },
|
||||||
|
"openid": { "location": "../../modules/openid" },
|
||||||
|
"recent_changes": { "location": "../../modules/recent_changes" },
|
||||||
|
"seo": { "location": "../../modules/seo" },
|
||||||
|
"session_auth": { "location": "../../modules/session_auth" },
|
||||||
|
"taxonomy": { "location": "../../modules/taxonomy" },
|
||||||
|
"files": { "location": "../../modules/files" },
|
||||||
|
"custom_block": { "location": "../../modules/custom_block" }
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user