Symlink ~/roundware-server to Apache code on production servers so manage.py works#210
Merged
hburgund merged 1 commit intoroundware:developfrom Feb 3, 2015
13rac1:symlink-prod-code
Merged
Symlink ~/roundware-server to Apache code on production servers so manage.py works#210hburgund merged 1 commit intoroundware:developfrom 13rac1:symlink-prod-code
hburgund merged 1 commit intoroundware:developfrom
13rac1:symlink-prod-code
Conversation
…nage.py works with correct code.
hburgund
added a commit
that referenced
this pull request
Feb 3, 2015
Symlink ~/roundware-server to Apache code on production servers so manage.py works
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.
@hburgund and I discovered an issue with the production server upgrade process. We couldn't get Django migrations to run while using the
roundwareuser (Note:vagrantuser is used on development VMs.) The issue wasinstall.shwas making another copy of the codebase for theroundwareuser, butdeploy.shwas never updating it. The solution is for~/roundware-serverto always be symbolic link. On dev VMs it goes to/vagrantand on production systems it goes to/var/www/roundware/source/. Theroundwareorvagrantuser.profilealways deferences the symbolic link to create the PYTHON_PATH environment variable.Now the following will work on a production machine (so it acts the same as on dev):
This commit fixes the issue for new installations. The following will "upgrade" existing production installs: