-
Notifications
You must be signed in to change notification settings - Fork 15
/
README
68 lines (59 loc) · 2.07 KB
/
README
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
Djangy: an open source cloud hosting service for Python/Django web
applications, inspired by Heroku.
Authors:
Sameer Sundresh <[email protected]>
Dave Paola <[email protected]>
Licensed under the UIUC-NCSA open source license (see LICENSE for details).
djangy.git layout
=================
docs@ -- symlink to user docs in web_ui/
install/ -- used to install/deploy djangy to a host
conf/ -- configuration files installed on a host
apache/
git_hooks/
post_receive.py@
gitosis.conf
nginx.conf@
rc.local
ssh_keys/
ssl_keys/
misc/
src/
client/ -- code run by users on their own machine
server/
master/ -- code run on the master node
management_database/ -- used by master_manager, web_ui, web_api
master_api/ -- internal API used by web_api and web_ui
master_manager/ -- privileged operations of master_api
post_receive.py -- goes in git_hooks
web_api/ -- django project for API called by client
web_ui/ -- django project for website
proxycache/ -- code run on the frontend nginx proxy/cache nodes
nginx.conf
proxycache_manager/
shared/
lib/
worker/ -- code run on the application worker nodes
worker_manager/
test/ -- test cases
generated files
===============
run/ -- runtime environment; generated, not checked into repository
python-virtual/ -- used by all server components
master_manager/sbin/
proxycache_manager/sbin/
worker_manager/sbin/
/srv layout
===========
/srv/
bundles/ 0711 root root
<bundle_name>/ 0550 <web_uid> bundles
djangy/ 0510 root djangy
gitosis/ 0700 gitosis gitosis
local_manager/ 0700 root root
logs/ 0710 root www-data
<bundle_name>/ 0710 root www-data
Notes:
* djangy group = root, gitosis, www-data
* <bundle_name> = <application_name>-<bundle_version>
* not 100% sure about all the permissions (e.g., logs)