Website Deployment Process
A general website deployment checklist. This check list should cover the deployment of most website classes.
Contents
- Introduction
- Assumptions
- Preflight Checks
- Deployment
- Method 1. Git Deployment
- Method 2. FTP Deployment
- Post Deployment
- End.
1. Introduction
2. Assumptions
- You are using
git
as version control for all projects.
3. Preflight Checks
This section walks through the steps we take before deploying any website.
- [___] Get client hosting information
- [___] Go through QA Checklist
- [___]
Git Merge
to Staging - [___] Note all URLS/paths that will need changing when live ( the odd static url )
- [___] Backup everything
- [___] Backup local/dev DB
- [___] Backup local/dev site
- [___] Backup Remote/existing DB
- [___] Backup Remote/existing site
- [___] Develop Deployment Plan.
- [___] Develop Production QA Plan.
- [___] Discuss Deployment Plan with key stakeholders.
- [___] If possible, set live site to maintenance mode.
- [___] Notify key stakeholders that deployment is in process.
4. Deployment
This section walks through the steps we take to deploy a website. We describe two main methods of deploying to a production server. Always strive for Method 1.
- [___] Import DB
- [___]
git branch
to a release (release/name) - [___]
git merge
to master branch
Method 1. Git Deployment
TODO
Method 2. FTP Deployment (with SSH)
- [___] Remove any gulp/grunt assets (node_modules, .sass-cache, bower assets)
- [___]
zip/archive
local site. - [___]
ftp
zipped archive to remote. - [___]
SSH
into remote location. - [___]
unpack/extract
archive. - [___] Set permissions.
- [___] Update configuration (if applicable).
- [___] Check if its working.
- [___] Update paths/URLs where applicable.
5. Post Deployment
This section walks through the steps we take once the website has been deployed successfully.
- [___] execute Production QA Plan.
- [___] Add Google Analytics.
- [___] Add new property on google analytics site.
- [___] Add universal analytics tracking code to template pages.
- [___] Add Webmaster Tools.
- [___] Add site to webmaster tools.
- [___] Verify site with google analytics.
- [___] Verify sitemap.xml.
- [___] Add sitemap.xml.
6. End.
- [___] Get client sign off.
- [___] Have a cold beer.
- [___] Smoke cigar.
- [___] Repeat 6.2 & 6.3 until you love yourself again.