forked from openhatch/oh-mainline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
LAYOUT
142 lines (106 loc) · 4.34 KB
/
LAYOUT
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
The git repository for oh-mainline contains many files and directory.
Here's a brief layout of the oh-mainline repository and the purpose of
various files and directories. Please consult OpenHatch documentation for
more details.
-------------------
Informational Files
-------------------
README.rst
Read the README! Read it first.
It points to our main documentation; this LAYOUT file is just a quick
thumbnail view of what different files in here are.
(Aside: The ".rst" extension indicates reStructuredText format is used.)
LICENSE
This file explains what permissions you have, if you want to re-use
source code you find in this repository.
CREDITS
This file gives credit for files used by OpenHatch.
LAYOUT
This file (the one that you are viewing now) gives an overview of the
project high-level directory and file structure.
--------
dotfiles
--------
In general, dotfiles provide configuration details.
.coveragerc coverage testing configuration
.gitattributes Git
.gitignore Files ignored by git
.travis.yml Travis continuous integration configuration
--------------------------
files and executable files
--------------------------
manage.py
This is the well-known and widely-loved Django management script.
Procfile
A file used when deploying the site.
requirements.txt
This file indicates packages (i.e. ones that are not pure Python code
and contain compiled code) that are installed in a different manner than
packages found in the vendor directory.
run_importer.sh
This shell script is used for deployment and running of scraping of
projects for suitable bugs for contributors. [FUTURE: This file may
be relocated to a different place.]
setup.py
This file lists the dependencies of the OpenHatch codebase.
-----------
directories
-----------
docs/
This directory contains documentation files for OpenHatch and is
rendered at RTD.
downloads/
This directory may be used by deployment for temporary storage.
[FUTURE: It may be possible to remove this directory in a later
release.]
htmlcov/
This directory stores reports created by the coverage testing tool.
mysite/
This directory contains the OpenHatch website and all the "Django
apps" that are part of it. Each subdirectory is an app.
Each of the apps has some tests, views, and frequently models and forms.
Their file paths are:
*/tests.py
*/views.py
*/forms.py
*/models.py
You can read more about tests, views, forms, and models in the
official Django tutorial:
https://docs.djangoproject.com/en/1.5/intro/tutorial01/
customs/
This directory contains "import/export" code like the support for
loading and saving snapshots of the OpenHatch database, downloading
data from bug trackers, and scanning other websites for information
about OpenHatch members.
profile/
This app contains code on information about OpenHatch users.
account/
This app (mostly) contains code to let a user edit their information.
missions/
This is the Django app where the training missions live.
search/
This Django app contains the views and models necessary to display
the volunteer opportunity finder, also known as bug search.
The apps also use other Django features, or Django add-ons. Here is a
list by filename and a URL reference to further info:
*/templatetags.py :
https://docs.djangoproject.com/en/1.5/howto/custom-template-tags/
*/migrations/ :
http://south.aeracode.org/
*/api.py :
http://django-tastypie.readthedocs.org/
*/fixtures.json :
https://docs.djangoproject.com/en/1.5/howto/initial-data/
*/management/commands :
https://docs.djangoproject.com/en/1.5/howto/custom-management-commands/
*/view_helpers.py :
http://lists.openhatch.org/pipermail/devel/2013-March/003151.html
*/templates/*/*.html :
https://docs.djangoproject.com/en/1.5/topics/templates/
tools/
This directory contains helper tools that make things easier for a
contributor (for example, a script for rendering docs).
vendor/
This directory contains code from other projects that we rely on.
(For more information, look at
http://kitsune.readthedocs.org/en/latest/vendor.html .)