Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Andrea Lorenzon
H5nuvola2
Commits
2a8cc384
Commit
2a8cc384
authored
Sep 28, 2020
by
Andrea Lorenzon
💬
Browse files
reading H5NUVOLA_PATH environmental variable as default folder for "local" deployment
parent
9af5cf45
Changes
1
Hide whitespace changes
Inline
Side-by-side
settings.py
View file @
2a8cc384
import
os
# deploy type ["local", "VUO", "K8S"]
deploy
=
"K8S"
# paths
fileFolderPath
=
{
"local"
:
"/home/andrea/PycharmProjects/"
,
"VUO"
:
"/"
,
"K8S"
:
"./"
,
"rafec"
:
"/"
}
"rafec"
:
os
.
getenv
(
'H5NUVOLA_PATH'
,
"/"
)
}
fileFolderName
=
{
"local"
:
"imgs"
,
"VUO"
:
""
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment