Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 93 lines (66 sloc) 3.329 kB
f26df0a @fwenzel oops, Firefox Input, not Mozilla Input
fwenzel authored
1 Firefox Input
e6eae89 @fwenzel Production app will be called Mozilla Input. Codename remains reporter.
fwenzel authored
2 =============
f22df3b @fwenzel README file.
fwenzel authored
3
6e6fe4c @fwenzel freeing product details from the claws of the reporter app.
fwenzel authored
4 Firefox Input is a [Django][Django]-based web application to gather user
5 feedback from the [Mozilla][Mozilla] Firefox beta testing program.
f22df3b @fwenzel README file.
fwenzel authored
6
7 For project goals, specifications, etc., check out the
8 [Reporter Wiki Page][wikimo].
9
10 [Mozilla]: http://www.mozilla.org
11 [Django]: http://www.djangoproject.com/
e6eae89 @fwenzel Production app will be called Mozilla Input. Codename remains reporter.
fwenzel authored
12 [wikimo]: https://wiki.mozilla.org/Firefox/Input
f22df3b @fwenzel README file.
fwenzel authored
13
14 Getting Started
15 ---------------
16 ### Python
17 You need Python 2.6. Also, you probably want to run this application in a
18 [virtualenv][virtualenv] environment.
19
20 Run ``easy_install pip`` followed by ``pip install -r requirements.txt``
21 to install the required Python libraries.
22
23 [virtualenv]: http://pypi.python.org/pypi/virtualenv
24
25 ### Django
6e6fe4c @fwenzel freeing product details from the claws of the reporter app.
fwenzel authored
26 To initialize the database, run:
27
28 ./manage.py syncdb
29
30 and to fetch the initial product details data, run:
31
32 ./manage.py update_product_details
33
7ab592a @fwenzel half-done search page. Need: aggregates, narrowing options.
fwenzel authored
34 Finally, to initialize the [search index][Haystack], run:
35
36 ./manage.py rebuild_index
37
f22df3b @fwenzel README file.
fwenzel authored
38 The Internet has plenty of of documentation on setting up a Django application
39 with any web server. If you need a wsgi entry point, you can find one in
40 ``wsgi/reporter.wsgi``.
41
7ab592a @fwenzel half-done search page. Need: aggregates, narrowing options.
fwenzel authored
42 ### Cron jobs
43 There are two jobs you want to run periodically:
44
45 ./manage.py update_product_details # Mozilla Product Details update
46 ./manage.py update_index # update search index
47
48 The frequency is up to you, but you probably want to run the search index
49 updates relatively frequently, while the product details can wait a little
50 longer.
51
f22df3b @fwenzel README file.
fwenzel authored
52 License
53 -------
54 This software is licensed under the [Mozilla Tri-License][MPL]:
55
56 ***** BEGIN LICENSE BLOCK *****
57 Version: MPL 1.1/GPL 2.0/LGPL 2.1
58
59 The contents of this file are subject to the Mozilla Public License Version
60 1.1 (the "License"); you may not use this file except in compliance with
61 the License. You may obtain a copy of the License at
62 http://www.mozilla.org/MPL/
63
64 Software distributed under the License is distributed on an "AS IS" basis,
65 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
66 for the specific language governing rights and limitations under the
67 License.
68
f26df0a @fwenzel oops, Firefox Input, not Mozilla Input
fwenzel authored
69 The Original Code is Firefox Input.
f22df3b @fwenzel README file.
fwenzel authored
70
71 The Initial Developer of the Original Code is Mozilla.
72 Portions created by the Initial Developer are Copyright (C) 2010
73 the Initial Developer. All Rights Reserved.
74
75 Contributor(s):
76 Frederic Wenzel <fwenzel@mozilla.com>
77
78 Alternatively, the contents of this file may be used under the terms of
79 either the GNU General Public License Version 2 or later (the "GPL"), or
80 the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
81 in which case the provisions of the GPL or the LGPL are applicable instead
82 of those above. If you wish to allow use of your version of this file only
83 under the terms of either the GPL or the LGPL, and not to allow others to
84 use your version of this file under the terms of the MPL, indicate your
85 decision by deleting the provisions above and replace them with the notice
86 and other provisions required by the GPL or the LGPL. If you do not delete
87 the provisions above, a recipient may use your version of this file under
88 the terms of any one of the MPL, the GPL or the LGPL.
89
90 ***** END LICENSE BLOCK *****
91
92 [MPL]: http://www.mozilla.org/MPL/
Something went wrong with that request. Please try again.