This is an example server-side API for KSCrash.
mkvirtualenv ks_crash
# needed for gevent
brew install libevent
# needed for juggernaut
brew install redis
npm install -g juggernaut
pip install -r requirements.txt
gem install foreman
# start redis
redis-server
# start juggernaut
juggernaut
# start sonar
foreman start
- Start redis with
redis-server
- Start Juggernaut by running
juggernaut
- Run
foreman start
- Navigate to http://localhost:8000/
- Send a few crash reports from the simulator using the included CrashTester app
Right now there are two end points for the API
Return all reports:
/api/reports.json
Return a single report using the crash_id
:
/api/reports/<crash_id>.json