用户工具

站点工具


差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
en:razor:upgrade-instruction-v0-4-to-v0-5 [2015/09/15 15:29]
cobub v0.7.2
en:razor:upgrade-instruction-v0-4-to-v0-5 [2015/09/15 16:26]
cobub V0.7.2
行 7: 行 7:
 ===== Step  one:  download the code of  V0.5 ===== ===== Step  one:  download the code of  V0.5 =====
   - Download the code of version 0.5   from https://​github.com/​cobub/​razor/​releases , and you can get the razor-0.5.zip,​ unzip it to get razor-0.5 folder, which contains the sdk and web folders.   - Download the code of version 0.5   from https://​github.com/​cobub/​razor/​releases , and you can get the razor-0.5.zip,​ unzip it to get razor-0.5 folder, which contains the sdk and web folders.
-  - 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 ).  To facilitate debugging, you can rename “web” ​ to   ​“razor_v5“,​ and  set the $ config ['​base_url'​] ​ value  to the ‘http://192.168.1.103/razor_v5 ‘  in config.php which is under the application folder ​  .+  - 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 ).  To facilitate debugging, you can rename “web” ​ to   ​“razor_v5“,​ and  set the $ config ['​base_url'​] ​ value  to the ‘http://yoururl/razor_v5 ‘  in config.php which is under the application folder ​  .
   - Copy the autoload.php、database.php and routes.php ​ of V0.4 under the directory of application\config\ to the diretory of application\config\ of V0.5, override these three  files of  V0.5.   - Copy the autoload.php、database.php and routes.php ​ of V0.4 under the directory of application\config\ to the diretory of application\config\ of V0.5, override these three  files of  V0.5.
 ===== Step two: modify the script files of database and data warehouse ===== ===== Step two: modify the script files of database and data warehouse =====
行 157: 行 157:
 Backup the directory of the previous web site(e.g **web**,​which is the root directory of  version 0.4),store it in a suitable place and named web-backup0.4,​ then delete **web**. Backup the directory of the previous web site(e.g **web**,​which is the root directory of  version 0.4),store it in a suitable place and named web-backup0.4,​ then delete **web**.
  
-Change”**razor_v5**” ​ to “**web**”(the name of V0.4),and set $config['​base_url'​]= ‘http://192.168.1.103/web’ in **config.php**.+Change”**razor_v5**” ​ to “**web**”(the name of V0.4),and set $config['​base_url'​]= ‘http://yoururl/web’ in **config.php**.
  
 Annex 1: user_permissionsv0.5 Annex 1: user_permissionsv0.5
  
  
en/razor/upgrade-instruction-v0-4-to-v0-5.txt · 最后更改: 2017/07/14 11:18 (外部编辑)