forked from bitstadium/QuincyKit
-
Notifications
You must be signed in to change notification settings - Fork 1
Installation & Setup
dustinrue edited this page Nov 12, 2011
·
4 revisions
Server side files:
- /server/database_schema.sql contains all the default tables
- /server/crash_v200.php is the file that is invoked by the Mac or iPhone app
- /server/config.php contains database access information
- /server/admin/ contains all administration scripts
- /server/admin/symbolicate.php needs to be copied to a local mac, and the url has to be adjusted to access the scripts on your server
INSTALLATION:
- Copy the server scripts to your web server: All files inside /server except the content of the /server/local directory
- Execute the SQL statements from database_schema.sql in your MySQL database on the web server
DATABASE CONFIGURATION:
- Adjust settings in /server/CONFIG.PHP:
$server = ‘your.server.com’; // database server hostname
$loginsql = ‘database_username’; // username to access the database
$passsql = ‘database_password’; // password for the above username
$base = ‘database_name’; // database name which contains the below listed tables - Adjust $default_amount_crashes, this defines the amount of crashes listed right away per pattern, if there are more, those are shown after clicking on a link at the end of the shortened list
- Adjust your local timezone in the last line: date_default_timezone_set(‘Europe/Berlin’) (see http://de3.php.net/manual/en/timezones.php)
- If you DO NOT want to limit the server to accept only data for your applications:
- set $acceptallapps to true
- Otherwise:
- start the web interface
- add the bundle identifiers of the permitted apps, e.g. “de.buzzworks.crashreporterdemo” (this is the same bundle identifier string as used in the info.plist of your app!)
ENABLE PUSH NOTIFICATIONS:
NOTICE: Push Notification requires the Server PHP installation to have curl addon installed!
NOTICE 2: Push Notifications are implemented using Prowl iPhone app and web service, you need the app and an Prowl API key!
- Adjust settings in /server/CONFIG.PHP:
- set $push_activated to true
- if you don’t want a push message for every new pattern, set $push_newtype to false
- adjust $push_amount_group to the amount of crash occurences of a pattern when a push message should be sent
- add up to 5 comma separated prowl api keys into $push_prowlids to receive the push messages on the device
- adjust $push_default_version, defines if you want to receive pushes for automatically created new versions for your apps
- If push is activated, check the web interface for push settings per app version