Wiki source for PypvsUpgrades


Show raw source

======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===

%%(bash)
git pull
pip2.7 install -r requirements.txt
%%

===Update and install our version of django-redis-essions===

%%(bash)
cd /home/ec2-user/build/django-redis-sessions
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===

%%(bash)
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
%%

--
CategoryITMisc
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki