~~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 ====== ===== 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 * [[en:razor:enable-redis-in-cobub-razor|Enable Redis in Cobub Razor]] ===== 2. Email ===== In order to receive Email notification, the SMTP information should be configured in web\application\config\email.php: // $config['smtp_host'] = ''; // SMTP server address $config['smtp_user'] = ''; // SMTP server account name $config['smtp_pass'] = ''; // SMTP server account password $config['smtp_port'] = ''; // SMTP server port ===== 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]]