Merge pull request #4679 from jmchilton/yaml_config_fixes

[17.09] Small tweaks to configuration and static assets
This commit is contained in:
Dannon Baker
2017-09-22 16:35:47 -04:00
committed by GitHub
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ class Configuration(object):
def check(self):
# Check that required directories exist
for path in self.root, self.file_path, self.template_path:
for path in self.root, self.template_path:
if not os.path.isdir(path):
raise ConfigurationError("Directory does not exist: %s" % path)
+3 -1
View File
@@ -1,6 +1,8 @@
#!/bin/sh
uwsgi_args="--master --pythonpath=lib"
: ${GALAXY_STATIC_DIRECTORY:=static}
: ${GALAXY_STYLE_DIRECTORY:=static/style/blue}
uwsgi_args="--master --pythonpath=lib --static-map /static=$GALAXY_STATIC_DIRECTORY --static-map /static/style=$GALAXY_STYLE_DIRECTORY"
parse_common_args() {
INITIALIZE_TOOL_DEPENDENCIES=1