Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Env Variable rather than local_settings for allowed hosts #10

Open
pjdufour opened this issue Jan 5, 2017 · 0 comments
Open

Use Env Variable rather than local_settings for allowed hosts #10

pjdufour opened this issue Jan 5, 2017 · 0 comments

Comments

@pjdufour
Copy link
Member

pjdufour commented Jan 5, 2017

Ansible playbook alters ALLOWED_HOSTS in settings.py then fails on git sync because settings.py was changed. Better to use environmental variables with our current strategy.

- name: patch the settings.py file in place

==

TASK [GeoNode.geonode : checkout latest web app code] **************************
fatal: [default]: FAILED! => {"changed": false, "failed": true, "msg": "Local modifications exist in repository (force=no)."}

@pjdufour pjdufour changed the title Downstream GeoNode Project Directory Issues Use Env Variable rathern than local_settings for allowed hosts Jan 5, 2017
@pjdufour pjdufour changed the title Use Env Variable rathern than local_settings for allowed hosts Use Env Variable rather than local_settings for allowed hosts Jan 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant