errbit
TRANSCRIPT
![Page 1: Errbit](https://reader033.vdocuments.mx/reader033/viewer/2022042814/5559319fd8b42a543d8b4944/html5/thumbnails/1.jpg)
Errbit
Errbitpour dire c’est fix,
quand on vous remonte le bug
Cyril Mougel
email: [email protected]: @shingara
github: http://github.com/shingara
2 Juillet 2013
![Page 2: Errbit](https://reader033.vdocuments.mx/reader033/viewer/2022042814/5559319fd8b42a543d8b4944/html5/thumbnails/2.jpg)
Errbit
Vous codez sans Bug ?
![Page 3: Errbit](https://reader033.vdocuments.mx/reader033/viewer/2022042814/5559319fd8b42a543d8b4944/html5/thumbnails/3.jpg)
Errbit
Vous faites des tests Unitaires ?
![Page 4: Errbit](https://reader033.vdocuments.mx/reader033/viewer/2022042814/5559319fd8b42a543d8b4944/html5/thumbnails/4.jpg)
Errbit
Vous testez tous les cas,meme illogique ?
![Page 5: Errbit](https://reader033.vdocuments.mx/reader033/viewer/2022042814/5559319fd8b42a543d8b4944/html5/thumbnails/5.jpg)
Errbit
![Page 6: Errbit](https://reader033.vdocuments.mx/reader033/viewer/2022042814/5559319fd8b42a543d8b4944/html5/thumbnails/6.jpg)
Errbit
Vous faites quoi ?
![Page 7: Errbit](https://reader033.vdocuments.mx/reader033/viewer/2022042814/5559319fd8b42a543d8b4944/html5/thumbnails/7.jpg)
Errbit
grep 500 -A 1 -B 10 log/development.log
![Page 8: Errbit](https://reader033.vdocuments.mx/reader033/viewer/2022042814/5559319fd8b42a543d8b4944/html5/thumbnails/8.jpg)
Errbit
Fastidieux
Source: http://yellowfireyoshi.deviantart.com/art/Boring-Pinkie-Vector-205068021
![Page 9: Errbit](https://reader033.vdocuments.mx/reader033/viewer/2022042814/5559319fd8b42a543d8b4944/html5/thumbnails/9.jpg)
Errbit
Exception notification ?https://github.com/rails/exception_notification
![Page 10: Errbit](https://reader033.vdocuments.mx/reader033/viewer/2022042814/5559319fd8b42a543d8b4944/html5/thumbnails/10.jpg)
Errbit
Inbox (2000)
Source: http://www.flickr.com/photos/10ch/3204310433/
![Page 11: Errbit](https://reader033.vdocuments.mx/reader033/viewer/2022042814/5559319fd8b42a543d8b4944/html5/thumbnails/11.jpg)
Errbit
Il y a une application pour ca
![Page 13: Errbit](https://reader033.vdocuments.mx/reader033/viewer/2022042814/5559319fd8b42a543d8b4944/html5/thumbnails/13.jpg)
Errbit
Gestion centralisee des erreurs
![Page 14: Errbit](https://reader033.vdocuments.mx/reader033/viewer/2022042814/5559319fd8b42a543d8b4944/html5/thumbnails/14.jpg)
Errbit
Information concernant une erreur
![Page 15: Errbit](https://reader033.vdocuments.mx/reader033/viewer/2022042814/5559319fd8b42a543d8b4944/html5/thumbnails/15.jpg)
Errbit
Association a un Bug Tracker
![Page 16: Errbit](https://reader033.vdocuments.mx/reader033/viewer/2022042814/5559319fd8b42a543d8b4944/html5/thumbnails/16.jpg)
Errbit
Plusieurs systemes de notifications
![Page 17: Errbit](https://reader033.vdocuments.mx/reader033/viewer/2022042814/5559319fd8b42a543d8b4944/html5/thumbnails/17.jpg)
Errbit
Installer sur heroku ?export APP_NAME=’errbit-test-master’
export EMAIL_FROM=’[email protected]’
# Create Application
heroku create $APP_NAME --stack cedar
heroku addons:add mongolab:sandbox
heroku addons:add sendgrid:starter
# Config Application
heroku config:add HEROKU=true --app $APP_NAME
heroku config:add SECRET_TOKEN="$(bundle exec rake secret)" --app $APP_NAME
heroku config:add ERRBIT_HOST="$APP_NAME.herokuapp.com" --app $APP_NAME
heroku config:add ERRBIT_EMAIL_FROM=$EMAIL_FROM --app $APP_NAME
# Start Application
git push heroku
heroku run db:seed
open http://errbit-test-master.herokuapp.com
![Page 18: Errbit](https://reader033.vdocuments.mx/reader033/viewer/2022042814/5559319fd8b42a543d8b4944/html5/thumbnails/18.jpg)
Errbit
Configurer l’applicationgem install airbrake
Airbrake.configure do |config|
config.api_key = ’6609bb33d1124b94f3225badc39cbcc8’
config.host = ’errbit-test-master.herokuapp.com’
config.port = 80
config.secure = config.port == 443
end
![Page 19: Errbit](https://reader033.vdocuments.mx/reader033/viewer/2022042814/5559319fd8b42a543d8b4944/html5/thumbnails/19.jpg)
Errbit
Voila !
![Page 20: Errbit](https://reader033.vdocuments.mx/reader033/viewer/2022042814/5559319fd8b42a543d8b4944/html5/thumbnails/20.jpg)
Errbit
N’hesitez pas a contribuerhttp://github.com/
errbit/errbit
![Page 21: Errbit](https://reader033.vdocuments.mx/reader033/viewer/2022042814/5559319fd8b42a543d8b4944/html5/thumbnails/21.jpg)
Errbit
Le futur ?Migration vers Mongoid 3
Migration vers Rails 4
Ajout de notifiers
Possibilite de plusieurs notifiers simultanes
Compatiblite avec plusieurs gems de reporting
![Page 22: Errbit](https://reader033.vdocuments.mx/reader033/viewer/2022042814/5559319fd8b42a543d8b4944/html5/thumbnails/22.jpg)
Errbit
Questions ?