Commit 69cf2432 by John Jarvis

Merge pull request #472 from edx/jarv/static-url-base

Jarv/static url base
parents 2c203b36 ae3043a6
...@@ -108,7 +108,7 @@ EDXAPP_MKTG_URL_LINK_MAP: {} ...@@ -108,7 +108,7 @@ EDXAPP_MKTG_URL_LINK_MAP: {}
# Set this sets the url for static files # Set this sets the url for static files
# Override this var to use a CDN # Override this var to use a CDN
# Example: xxxxx.cloudfront.net/static/ # Example: xxxxx.cloudfront.net/static/
EDXAPP_STATIC_URL: "/static/" EDXAPP_STATIC_URL_BASE: "/static/"
#-------- Everything below this line is internal to the role ------------ #-------- Everything below this line is internal to the role ------------
...@@ -262,7 +262,7 @@ edxapp_generic_auth_config: &edxapp_generic_auth ...@@ -262,7 +262,7 @@ edxapp_generic_auth_config: &edxapp_generic_auth
CELERY_BROKER_PASSWORD: $EDXAPP_CELERY_PASSWORD CELERY_BROKER_PASSWORD: $EDXAPP_CELERY_PASSWORD
generic_env_config: &edxapp_generic_env generic_env_config: &edxapp_generic_env
STATIC_URL: $EDXAPP_STATIC_URL STATIC_URL_BASE: $EDXAPP_STATIC_URL_BASE
STATIC_ROOT_BASE: $edxapp_staticfile_dir STATIC_ROOT_BASE: $edxapp_staticfile_dir
LMS_BASE: $EDXAPP_LMS_BASE LMS_BASE: $EDXAPP_LMS_BASE
CMS_BASE: $EDXAPP_CMS_BASE CMS_BASE: $EDXAPP_CMS_BASE
......
...@@ -28,8 +28,8 @@ else ...@@ -28,8 +28,8 @@ else
source "$WORKSPACE/util/jenkins/ascii-convert.sh" source "$WORKSPACE/util/jenkins/ascii-convert.sh"
fi fi
if [[ -z $static_url ]]; then if [[ -z $static_url_base ]]; then
static_url="/static/" static_url_base="/static"
fi fi
if [[ -z $github_username ]]; then if [[ -z $github_username ]]; then
......
...@@ -31,5 +31,5 @@ discern_version: $discern_version ...@@ -31,5 +31,5 @@ discern_version: $discern_version
rabbitmq_ip: "127.0.0.1" rabbitmq_ip: "127.0.0.1"
rabbitmq_refresh: True rabbitmq_refresh: True
COMMON_HOSTNAME: edx-server COMMON_HOSTNAME: edx-server
EDXAPP_STATIC_URL: $static_url EDXAPP_STATIC_URL_BASE: $static_url_base
EOF EOF
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment