這里會顯示出您選擇的修訂版和當(dāng)前版本之間的差別。
兩側(cè)同時換到之前的修訂記錄 前一修訂版 后一修訂版 | 前一修訂版 | ||
en:razor:upgrade-instruction-v0-6-to-v0-7 [2015/09/15 10:26] cobub |
en:razor:upgrade-instruction-v0-6-to-v0-7 [2017/07/14 11:18] (當(dāng)前版本) |
||
---|---|---|---|
行 2: | 行 2: | ||
{{description>Cobub Razor is an Open Source Mobile Analytics. When you are ready to upgrade Cobub Razor from version 0.6 to version 0.7, following steps is required:.}} | {{description>Cobub Razor is an Open Source Mobile Analytics. When you are ready to upgrade Cobub Razor from version 0.6 to version 0.7, following steps is required:.}} | ||
{{keywords>Cobub Razor,open source mobile analytics,mobile analytics,mobile app analytics, upgrade}} | {{keywords>Cobub Razor,open source mobile analytics,mobile analytics,mobile app analytics, upgrade}} | ||
+ | |||
====== Upgrade Instruction (v0.6 to v0.7) ====== | ====== Upgrade Instruction (v0.6 to v0.7) ====== | ||
行 8: | 行 9: | ||
1、Download the code of version 0.7 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. | 1、Download the code of version 0.7 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.6 or V0.7 ). 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. | + | 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.6 or V0.7 ). To facilitate debugging, you can rename ”web” to “razor_v6“, and set the $ config ['base_url'] value to the ‘http://yoururl/razor_v6 ‘ in **config.php** which is under the **application** folder. |
3、Copy the **autoload.php** and **database.php** of V0.6 under the directory of **application\config\** to the diretory of **application\config\** of V0.7, override these two files of V0.7, and replace $route['default_controller'] = “install/installation” to $route['default_controller'] = “report/home” of V0.7 in **routes.php**. | 3、Copy the **autoload.php** and **database.php** of V0.6 under the directory of **application\config\** to the diretory of **application\config\** of V0.7, override these two files of V0.7, and replace $route['default_controller'] = “install/installation” to $route['default_controller'] = “report/home” of V0.7 in **routes.php**. | ||
行 1177: | 行 1178: | ||
Backup the directory of the previous web site(e.g **web**,which is the root directory of version 0.6),store it in a suitable place and named web-backup0.6, then delete **web**. | Backup the directory of the previous web site(e.g **web**,which is the root directory of version 0.6),store it in a suitable place and named web-backup0.6, then delete **web**. | ||
- | Change”razor_v6” to “web”(the name of V0.6),and set $config['base_url']= ‘http://192.168.1.103/web’ in **config.php**. | + | Change”razor_v6” to “web”(the name of V0.6),and set $config['base_url']= ‘http://yoururl/web’ in **config.php**. |