跳至内容
Cobub文档中心
用户工具
登录
站点工具
工具
显示页面
修订记录
反向链接
媒体管理器
网站地图
登录
媒体管理器
网站地图
本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。
====== Upgrade Instruction (v0.5 to v0.6) ====== When you are ready to upgrade Cobub Razor from version 0.5 to version 0.6, following steps is required: ===== Step one: download the code of V0.6 ===== 1、Download the code of version 0.6 from https://github.com/cobub/razor , and you can get the razor-master.zip, unzip it to get razor-master folder, which contains the sdk and web folders. 2、Copy the **web** folder to the directory of your web site where you are ready to upgrade Cobub Razor (Note: web can not be the same name with Cobub Razor’s name of V0.4 or V0.5 ). To facilitate debugging, you can rename ”web” to “razor_v6“, and set the $ config ['base_url'] value to the ‘http://192.168.1.103/razor_v6 ‘ in **config.php** which is under the **application** folder. 3、Copy the **autoload.php** and **database.php** of V0.5 under the directory of **application\config\** to the diretory of **application\config\** of V0.6, override these two files of V0.6, and replace $route['default_controller'] = “install/installation” to $route['default_controller'] = “report/home” of V0.6 in **routes.php**. ===== Step two: modify script files of database and data warehouse ===== ===== Step three: stop inserting data to database and pause the stored procedures. ===== Note: you need to have prepared all the relevant SQL scripts(i.e. all sql scripts in Step two). ===== Step four: delete all stored procedures in data warehouse. ===== ===== Step five: execute the SQL scripts generated in Step two. ===== Note: Please backup the data of your database and data warehouse before you execute the sql scripts. ===== Step six:restart the database and data warehouse. ===== Before this step, you need to do the last thing : Backup the directory of the previous web site(e.g **web**,which is the root directory of version 0.5),store it in a suitable place and named web-backup0.5, then delete **web**. Change”razor_v6” to “web”(the name of V0.5),and set $config['base_url']= ‘http://192.168.1.103/web’ in **config.php**.
en/razor/upgrade-instruction-v0-5-to-v0-6.1426659768.txt.gz
· 最后更改: 2017/07/14 11:12 (外部编辑)
页面工具
显示页面
修订记录
反向链接
回到顶部