mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-13 14:43:03 +00:00
wip
This commit is contained in:
parent
c72fee217e
commit
c28d5e948c
@ -166,6 +166,7 @@ def load_defaults(config):
|
|||||||
|
|
||||||
# Add extra configuration parameters that need to be computed separately
|
# Add extra configuration parameters that need to be computed separately
|
||||||
config["lms_cms_common_domain"] = utils.common_domain(config["LMS_HOST"], config["CMS_HOST"])
|
config["lms_cms_common_domain"] = utils.common_domain(config["LMS_HOST"], config["CMS_HOST"])
|
||||||
|
config["lms_host_reverse"] = config["LMS_HOST"].split(".")[::-1]
|
||||||
|
|
||||||
def ask(question, key, config):
|
def ask(question, key, config):
|
||||||
default = env.render_str(config, config[key])
|
default = env.render_str(config, config[key])
|
||||||
|
@ -16,7 +16,7 @@ def render_full(root, config):
|
|||||||
"""
|
"""
|
||||||
Render the full environment, including version information.
|
Render the full environment, including version information.
|
||||||
"""
|
"""
|
||||||
for target in ["apps", "k8s", "local", "webui"]:
|
for target in ["android", "apps", "k8s", "local", "webui"]:
|
||||||
render_target(root, config, target)
|
render_target(root, config, target)
|
||||||
copy_target(root, "build")
|
copy_target(root, "build")
|
||||||
with open(pathjoin(root, VERSION_FILENAME), 'w') as f:
|
with open(pathjoin(root, VERSION_FILENAME), 'w') as f:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
APPLICATION_ID={{ LMS_HOST_REVERSE }}
|
APPLICATION_ID={{ lms_host_reverse }}
|
||||||
RELEASE_STORE_FILE=/openedx/config/app.keystore
|
RELEASE_STORE_FILE=/openedx/config/app.keystore
|
||||||
RELEASE_STORE_PASSWORD={{ ANDROID_STORE_PASSWORD }}
|
RELEASE_STORE_PASSWORD={{ ANDROID_STORE_PASSWORD }}
|
||||||
RELEASE_KEY_PASSWORD={{ ANDROID_KEY_PASSWORD }}
|
RELEASE_KEY_PASSWORD={{ ANDROID_KEY_PASSWORD }}
|
||||||
|
Loading…
Reference in New Issue
Block a user