This application observe specified app crash rate from fabric.io and notify to Slack.
- Install required Ruby gem packages
bundle install --path vendor/bundle
- Generate config yml file for production
cp sample.config.yml config.yml
- Fill your configuration in config.rb
fabric:
group_name: example_inc
device: {android/ios}
package_name: com.example.android.app
mail_address: [email protected]
password: {your_password}
version_name: "1.0.0"
version_code: "100"
slack:
incoming_url: "https://hooks.slack.com/services/xxxxx/yyyyyyy/zzzzzzzzz"
channel: "#general"
user_name: "CrashObserver"
emoji: ":smile:"
- Install Node package manage tool
brew install npm
- Install phantomjs by npm
npm install -g phantomjs
bundle exec ruby src/access.rb
bundle exec clockwork src/clock.rb
bundle exec nohup clockwork src/clock.rb &
Clockwork created by Adam Wiggins https://github.com/adamwiggins/clockwork