aboutsummaryrefslogtreecommitdiffstats
path: root/README
blob: d56fdbd4da219a284bbee4870300f62c79a9a01c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
Error reporting tool
===================

This application allows receiving and viewing errors that can be reported when using Yocto project Poky.

Setup
-----

Requirements:

see requirements.txt

Additional if using mysql backend:

* MySQL-python
* libmysqlclient-dev

Recommended:
* virtualenv environment

Setup instructions:

1. Initialise and activate a python virtual environment. `virtualenv venv && source ./venv/bin/activate`
2. Install the dependencies via `pip install -r requirements.txt`
3. Set DATABASES.default.ENGINE in settings.py to use the database engine of your choice.
4. Set a SECRET_KEY in settings.py
5. Setup the database schema with the Django model. Run `python manage.py migrate`.


Usage
-----

To test the server run: `python manage.py runserver`

For production deployment see https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/modwsgi/

In order to send an error report to the server, run the "send-error-report file_name" script which is available in Yocto project poky scripts directory.

For more information on error reporting and log collection see: http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#using-the-error-reporting-tool

Maintenance
-----------

The code for this application is maintained by the Yocto Project.

The latest version can be checked out by git cloning:

  git://git.yoctoproject.org/error-report-web

Contributions are welcome. Please send patches / pull requests to
yocto@lists.yoctoproject.org with '[error-report-web]' in the subject.

To manage the size of your database there is a convenience command:

Usage: ./manage.py culldb [options] <size>

Culls the database to size in rows

More info ./manage.py culldb --help

! Make sure to have backups of data before deleting/culling !

License
-------

This application is based upon the Django project template, whose files
are covered by the BSD license and are copyright (c) Django Software
Foundation and individual contributors.

Bundled Twitter Bootstrap (including Glyphicons) is redistributed under
the Apache License 2.0.

Bundled jQuery is redistributed under the MIT license.

Bundled jquery.cookie.js is redistributed under the MIT license.

Bundled d3.js is redistributed under the BSD License.

Bundled nvd3.js is redistributed under the Apache License 2.0.

All other content is copyright (C) 2013 Intel Corporation and licensed
under the MIT license (unless otherwise noted) - see COPYING.MIT for
details.