# Deployment Guide
# Checklist
- Match designs with the HTML look.
- Make sure all default generic texts are substituted/removed.
- Set appropriate
<title>
. - Create favicons.
- Set appropriate values for
theme-color
andapplication-name
meta tags. - Set appropriate color in
config.xml
. - Check responsiveness.
- Check for console errors.
# WordPress
# Before deployment
- Check all default templates
- Blog
- Single Article
- Search
- Archives
- 404
- Page
- Check if all HTML elements are styled on wherever a rich text editor is used. Use this gist: https://gist.github.com/alpanayotovv/fa40bf58e45278ac4629ba5d1f785ecc
- Check on all relevant browsers -- Chrome, Firefox, Safari, Opera ( maaaybe IE/Edge)
- Remove temp images and not needed assets
- Add Theme Screenshot (1200x900)
- Optimize images with
optisize
-- theme and uploads - Build the project --
yarn build
# Deployment Guide
- Create a DB on the server
- Create a DB user on the server and save the password
- Associate DB user with the DB
- Migrate the local DB
- Import the DB on the server
Tip: phpMyAdmin does not play well with the migrator in some cases. Use mysql CLI or adminer to go around this.
# After deployment
- Make sure nothing is broken after the migration
- Update the admin access with strong password
- Update the .htaccess file with these -- https://gist.github.com/alpanayotovv/d75c71c806fd12fd9b0155fdb88f7cdb
- Run Google page speed insights
DO EVERYTHING AGAIN ON EVERY CHANGE, SINCE WE DON'T HAVE TESTS 😦 TODO: write tests