用户工具

站点工具


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

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.

  1. 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;
  2. 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:

  1. Download GeoIP file
  2. Copy the unzip file GeoLiteCity.data to /web/
  3. Open /web/application/config/config.php file, change $config['get_geographical'] value to 1.
  4. 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.txt · 最后更改: 2017/07/14 11:18 (外部编辑)