Default database.py and globalvar.py configuration
This commit is contained in:
parent
bd31213bdf
commit
24a5c602a3
8
app/config/database.py
Normal file
8
app/config/database.py
Normal file
@ -0,0 +1,8 @@
|
||||
db_main = {
|
||||
'host' : 'localhost',
|
||||
'user' : 'root',
|
||||
'password' : '',
|
||||
'database' : 'your_db',
|
||||
'port' : 3306,
|
||||
'autocommit' : True,
|
||||
}
|
28
app/config/globalvar.py
Normal file
28
app/config/globalvar.py
Normal file
@ -0,0 +1,28 @@
|
||||
title = "CostaPy"
|
||||
|
||||
menu = {
|
||||
"public": {
|
||||
"navbar": [
|
||||
{
|
||||
"name":"Home",
|
||||
"target":"_self",
|
||||
"href":"/",
|
||||
"roles":["guest"]
|
||||
},
|
||||
{
|
||||
"name":"About",
|
||||
"target":"_self",
|
||||
"href":"/about",
|
||||
"roles":["guest"]
|
||||
},
|
||||
{
|
||||
"name":"Docs",
|
||||
"target":"_blank",
|
||||
"href":"https://costapy.ditaajipratama.net",
|
||||
"roles":["guest"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
copyright = "Copyright (C) 2022 Dita Aji Pratama"
|
Loading…
Reference in New Issue
Block a user