forked from allan-simon/tatoblog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
47 lines (36 loc) · 1019 Bytes
/
config.py
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
# where the application code will be generated
# relative to the "tools" directory
APP_ROOT = "../app"
# this represent the logical structure of your code
# the script init will use this to generate a skeleton
# of code
ARCHITECTURE = {
'controllers' : {
'Posts' : {
'description': 'Module that deals with blog post',
'methods' : {
'show' : {}
}
}
},
'models': {
'Posts' : {}
},
'models_controllers': [
('Posts','Posts')
]
}
# placeholders, replace the value by those specific to your
# projet
REPLACEMENTS = {
'@AUTHOR@' : 'Allan Simon',
'@EMAIL@': '[email protected]',
'@PROJECT_NAME_CODE@' : 'tatoblog',
'@PROJECT_NAME_HUMAN@': 'Tatoblog',
'@MAIN_CLASS@' : 'TatoBlog',
'@MAIN_CLASS_HEADER@' : 'TATOBLOG',
'@DESCRIPTION@' : 'A blog platform in C++',
'@PROJECT_WEBSITE' : 'https://github.com/allan-simon/tatoblog',
'@YEARS@' : '2013',
' ' : ' '
}