這里會顯示出您選擇的修訂版和當前版本之間的差別。
兩側同時換到之前的修訂記錄 前一修訂版 后一修訂版 | 前一修訂版 | ||
en:razor:configuration [2015/03/17 15:11] cobub [2. Email] |
en:razor:configuration [2017/07/14 11:18] (當前版本) |
||
---|---|---|---|
行 1: | 行 1: | ||
+ | ~~Title:Cobub Razor Configuration - Mobile Apps Marketing Platform of Open Source - Mobile Analytics & Mobile Push Notification Solutions - Cobub Mobile Developer Center~~ | ||
+ | {{description>Cobub Razor is an Open Source Mobile Analytics. From the v0.7, Redis is strongly suggested to be configured for Cobub Razor. If Redis is configured for Cobub Razor, the real time report will be enabled. For how to configure Redis for Cobub Razor, please visit.}} | ||
+ | {{keywords>Cobub Razor,open source mobile analytics,mobile analytics,mobile app analytics, configuration, redis, email, geolocation}} | ||
+ | |||
====== Configuration ====== | ====== Configuration ====== | ||
===== 1. Redis ===== | ===== 1. Redis ===== | ||
From the v0.7, Redis is strongly suggested to be configured for Cobub Razor. If Redis is configured for Cobub Razor, the real time report will be enabled. For how to configure Redis for Cobub Razor, please visit | From the v0.7, Redis is strongly suggested to be configured for Cobub Razor. If Redis is configured for Cobub Razor, the real time report will be enabled. For how to configure Redis for Cobub Razor, please visit | ||
- | * [[en:razor:configuration|Enable Redis in Cobub Razor]] | + | * [[en:razor:enable-redis-in-cobub-razor|Enable Redis in Cobub Razor]] |
===== 2. Email ===== | ===== 2. Email ===== | ||
行 16: | 行 20: | ||
$config['smtp_port'] = ''; // SMTP server port | $config['smtp_port'] = ''; // SMTP server port | ||
</code> | </code> | ||
+ | |||
+ | ===== 3. Geolocation ===== | ||
+ | |||
+ | |||
+ | //IMPORTANT: Only for Cobub Razor v0.5 and v0.6,users of v0.7 can skip this step// | ||
+ | |||
+ | Cobub Razor provides two method to transfer GPS/IP to Country, Region and city information. | ||
+ | |||
+ | - IF GPS data exists, Cobub Razor will access Google LBS interface to transfer it to geographical data. Otherwise, IP data will be used to sent to IpInfo online interface to get geographical data; | ||
+ | - Call GeoIP local data library to transfer data. | ||
+ | |||
+ | The current version uses the first method as the default rule. If users want to use the second method, please config the Cobub Razor as follows: | ||
+ | - Download GeoIP file | ||
+ | - Copy the unzip file GeoLiteCity.data to /web/ | ||
+ | - Open /web/application/config/config.php file, change $config['get_geographical'] value to 1. | ||
+ | - GeoLiteCity language is English, so the $config['default_counry'] value should be changed to your country name, such as China. | ||
+ | |||
+ | This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com. | ||
+ | |||
+ | ===== 4. Next Step ===== | ||
+ | When finish the all above steps, Cobub Razor is completely installed and can run well. For the integration of SDK with mobile application, please refer to: | ||
+ | * [[en:razor:configuration|Android Developer Guideline]] | ||
+ | * [[en:razor:configuration|iOS Developer Guideline]] | ||
+ | * [[en:razor:configuration|WindowsPhone Developer Guideline]] | ||