用户工具

站点工具


这是本文档旧的修订版!


Upgrade Instruction (v0.4 to v0.5)

When you are ready to upgrade Cobub Razor from version 0.4 to version 0.5, following steps is required:

Step one: download the code of V0.5

  1. 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.
  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 ). 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 .
  3. 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

Here, assume that your database is razor and data warehouse is razordw, and umsinstall_ is the table prefix of them.

en/razor/upgrade-instruction-v0-4-to-v0-5.1426648403.txt.gz · 最后更改: 2017/07/14 11:12 (外部编辑)