claroline/demo-bundle
Composer 安装命令:
composer require claroline/demo-bundle
包简介
claroline.net demo
README 文档
README
This bundle allows you to reinstall the platform periodically while displaying a counter allowing you to inform every users of the time remaining before it happens.
Reinstalling the platform
In order to initialize the "time remaining" counter, you need to restart the platform once. Go into the DemoBundle/Resources/scripts directory and run:
sudo php reinstall.php
Setting the cron period
Setup a cron that fires the reinstall script periodically doc.
sudo crontab -e
Editing the bundle configuration file
Edit the Resources/config/parameters.yml file to reflect the cron period.
claroline.demo_bundle.period: 7200 #seconds
Updating the web folder
If you want the platform to redirect to a "reinstall" page when the script is working, run:
php app/console claroline:demo:replace_web
Displaying the counter
If you want to display the time remaining counter, edit the Resources/config/parameters.yml
claroline.demo_bundle.display_counter: true
统计信息
- 总下载量: 46
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2014-07-23