Create and document outside-of-repo-code production Django/Roundware settings#209
Merged
hburgund merged 1 commit intoroundware:developfrom Feb 7, 2015
13rac1:201/external-prod-settings
Merged
Create and document outside-of-repo-code production Django/Roundware settings#209hburgund merged 1 commit intoroundware:developfrom 13rac1:201/external-prod-settings
hburgund merged 1 commit intoroundware:developfrom
13rac1:201/external-prod-settings
Conversation
Member
Author
|
"Upgrade" process for existing installs after this pull request is merged: cd roundware-server
# Assumes unmodified git clone of http://github.com/roundware/roundware-server.git develop branch
git pull
sudo mkdir /var/www/roundware/settings
sudo cp files/var-www-roundware-settings.py /var/www/roundware/settings/roundware_production.py
sudo chown roundware:roundware -R /var/www/roundware/settings
sudo ./deploy.sh |
Member
|
tested this with the "upgrade" as well as fresh VM locally and then tried to over-ride a few different settings and it all worked as advertised. |
hburgund
added a commit
that referenced
this pull request
Feb 7, 2015
Create and document outside-of-repo-code production Django/Roundware settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Could use a better explanation but this covers it:
Production Settings
The production Roundware/Django settings file used by WSGI Apache2 is stored outside of the source code directory in the file
/var/www/roundware/settings/roundware_production.py. All settings in/var/www/roundware/source/roundware/settings/common.pycan be overridden there. Do not modify any file within the/var/www/roundware/sourcedirectory unless you intend to maintain your own fork of Roundware Server.