用户工具

站点工具


差别

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

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
en:razor:how-to-install-cobub-razor-manually [2015/03/18 15:05]
cobub [2.Excecute the sql files]
en:razor:how-to-install-cobub-razor-manually [2017/07/14 11:18] (当前版本)
行 1: 行 1:
-====== ​How to install Cobub Razor manually? ====== +~~Title:​Cobub Razor How to install Cobub Razor manually ​- Mobile Apps Marketing Platform of Open Source - Mobile Analytics & Mobile Push Notification Solutions - Cobub Mobile Developer Center~~ 
-This document ​is valid for Version 0.7 of Cobub Razor. Check out the [[en:​razor:​release-note|release note]] +{{description>​Cobub Razor is an Open Source Mobile AnalyticsHow to install ​Cobub Razor manually}} 
-This document is for those who could not install ​Cobub Razor using the installation ​wizard.+{{keywords>​Cobub Razor,open source mobile analytics,​mobile analytics,​mobile app analytics, install manually, ​installation}}
  
-  * [[#Prepare for Installation|Prepare for Installation]] +====== How to install ​Cobub Razor manually? ======
-  * [[#​Install ​Cobub Razor manually|Start the Installation]]+
  
  
行 12: 行 11:
   * A web server, shared hosting or dedicated server.   * A web server, shared hosting or dedicated server.
   * Check out the [[en:​razor:​install-requirements|System Environment Requirements]].   * Check out the [[en:​razor:​install-requirements|System Environment Requirements]].
-  * Download the [[en:​downloads|latest release of Cobub Razor]].+  * Download the [[http://​www.cobub.com/​en/​downloads/|latest release of Cobub Razor]].
   * Unzip the zip file, and you will get a folder, whose name such as **cobub-razor-237c064** which contains files and directories(e.g. sdk, web), you can rename **cobub-razor-237c064** to a simple name such as **razor** as you like.   * Unzip the zip file, and you will get a folder, whose name such as **cobub-razor-237c064** which contains files and directories(e.g. sdk, web), you can rename **cobub-razor-237c064** to a simple name such as **razor** as you like.
  
行 31: 行 30:
   * Import and execute the modified sql files to your blank database. You need to execute the sql files in the sequence of databaseinfo.sql->​dataware.sql->​datawarestore.sql.   * Import and execute the modified sql files to your blank database. You need to execute the sql files in the sequence of databaseinfo.sql->​dataware.sql->​datawarestore.sql.
 ==== 3. Modify the configuration ==== ==== 3. Modify the configuration ====
 +  * Configure files path: Cobub_Razor/​application/​config.
 +  * Change 4 files autoload.php,config.php,database.php,routes.php as following:
 +  * autoload.php:​ change $autoload['​language'​] = array() to $autoload['​language'​] = array('​allview'​) .
 +  * config.php: change $config['​base_url'​] = '​http://​localhost:​80/​web';​ to $config['​base_url'​] = '​webpath_2_your_cobubrazor'; ​ and change $config['​language'​] = '​en_US';​ to $config['​language'​] = '​your_language_setting';​ note: you need to keep the same language choice in the sql files and setting here.
 +  * database.php,​ to set your database configuration,​ change the following
 +
 +<code php>​$db['​default'​] ['​hostname'​] = '​HOSTNAME';​
 +$db['​default'​] ['​username'​] = '​USERNAME';​
 +$db['​default'​] ['​password'​] = '​PASSWORD';​
 +$db['​default'​] ['​database'​] = '​DATABASE';​
 +$db['​default'​] ['​dbprefix'​] = '​DBPREFIX';​
 +</​code>​
 +to your own setting:
 +<code php>​$db['​default'​] ['​hostname'​] = '​localhost';​
 +$db['​default'​] ['​username'​] = '​cobub';​
 +$db['​default'​] ['​password'​] = '​cobub';​
 +$db['​default'​] ['​database'​] = '​cobubrazor ';
 +$db['​default'​] ['​dbprefix'​] = '​razor_';</​code>​
 +Change data warehouse setting
 +<code php>​$db['​dw'​] ['​hostname'​] = '​DWHOSTNAME';​
 +$db['​dw'​] ['​username'​] = '​DWUSERNAME';​
 +$db['​dw'​] ['​password'​] = '​DWPASSWORD';​
 +$db['​dw'​] ['​database'​] = '​DWDATABASE';​
 +$db['​dw'​] ['​dbdriver'​] = '​mysql';​
 +$db['​dw'​] ['​dbprefix'​] = '​DWDBPREFIX';</​code>​
 +to your own data ware house setting, eg
 +<code php> $db['​dw'​] ['​hostname'​] = '​localhost';​
 +$db['​dw'​] ['​username'​] = '​cobub';​
 +$db['​dw'​] ['​password'​] = '​cobub';​
 +$db['​dw'​] ['​database'​] = '​cobubrazor ';
 +$db['​dw'​] ['​dbdriver'​] = '​mysql';​
 +$db['​dw'​] ['​dbprefix'​] = '​razordw_';​
 +</​code>​
 +
 +  * routes.php: change $route['​default_controller'​] = "​install/​install"​ to $route['​default_controller'​] = "​report/​console"​.
en/razor/how-to-install-cobub-razor-manually.1426662329.txt.gz · 最后更改: 2017/07/14 11:12 (外部编辑)