pypvs Upgrades
Deploy Process
These notes assume RHEL(our production servers) so there may be differences for your distribution/OS.
2.11 -> 2.12
Update Dependencies
git pull
pip2.7 install -r requirements.txt
pip2.7 install -r requirements.txt
Update and install our version of django-redis-essions
cd /home/ec2-user/build/django-redis-sessions
git pull
python2.7 setup.py install
git pull
python2.7 setup.py install
Merge settings.py.tpl Changes To settings.py
Do the needful, there's a bunch of changes and fixes.
Setup New Logs
mkdir /var/log/pypvs && touch /var/log/pypvs/pypvs.log && touch /var/log/pypvs/django_request.log
chown -R apache:apache /var/log/pypvs
semanage fcontext -a -t httpd_log_t "/var/log/pypvs(/.*)?"
restorecon -vR /var/log/pypvs
chown -R apache:apache /var/log/pypvs
semanage fcontext -a -t httpd_log_t "/var/log/pypvs(/.*)?"
restorecon -vR /var/log/pypvs
--
CategoryITMisc