Nurse Blog & Schools
www.nurse.com/blog and www.nurse.com/schools are wordPress environments hosted on a LAMP server at MS-Azure
URLS:
Prod Site: https://www.nurse.com/blog/
*Prod Wp-Admin: https://www.nurse.com/blog/wp-login.php
*QA Site: https://qa-www.nurse.com/blog/
*QA WP-Admin: https://qa-www.nurse.com/blog/wp-login.php
*AnyConnect VPN Required
Developer Info:
Network: Nurse-Webscale VPC
QA:172.16.234.37
Prod:172.16.234.36
Deployment Procedure:
Create branch for ticket
Merge feature branches to staging branch
Deploy to QA server
Login to QA server via SSH and run these commands
eval $(ssh-agent)
ssh-add /home/www-upload/.ssh/bitbucketaccess
cd /var/www/html/wordpress/blog
git pull
chown -R www-upload:apache /var/www/html/wordpress/blog
find . -type f -exec chmod 664 {} +
find . -type d -exec chmod 775 {} +
chcon -R -t httpd_sys_rw_content_t wp-content/
exit
test code on QA
merge to Production branch
Notes:
no stage environment exists for blog & schools currently, only QA/Prod
This procedure has been tested on the blog site only but should apply to nurse.com/schools