Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 2.07 KB

File metadata and controls

37 lines (28 loc) · 2.07 KB

Upgrading from Genesis

This is an overview of necessary cleanup and issues when regenerating a Genesis WordPress site with Evolution. You should bring over any database and uploaded files via the Cambrian export/import process.

Removing Genesis' leftovers

  • Remove the old provisioning script: rm bin/provision
  • Remove leftover directories created by Genesis:
    • rm -r deployment
    • rm -r provisioning
    • Typically, any subdirectory you did not explicitly create, other than bin, lib, and web
  • Remove all your old wordpress files and directories from web, except wp-content and wp-config.php:
    • rm -r web/wp-{a,b,com,cr,i,l,m,s,t}*

Changing dependencies

  • If you've added any non-standard components to bower.json, Evolution will overwrite them. You will need to re-add them yourself. See precisely what's changed with: git diff bower.json
  • Capistrano was upgraded from 2 to 3, so the following files will have changed drastically:
    • Capfile
    • Gemfile
    • Gemfile.lock
  • Remove any possibly outdated dependencies, and then run your installs from scratch:
    • rm -r ./{node_modules,bower_components}
    • npm install; bower install; bundle install

Resolving updates of existing files

  • Your Vagrantfile will be drastically different, and you may have to destroy and re-create your local vm
  • Any customizations you've made to your .gitignore will need to be re-added, below a demarcated line
  • You'll see significant changes to web/.htaccess:
    • Forced redirects from www.{domain} to the bare domain (or vice versa) are standard in Evolution's htaccess
    • Most security + performance tweaks from Genesis' htaccess were moved to Apache's virtual host configuration
    • Any existing Genesis block should be removed

Wordpress snafus

  • Are all your links prefixed with /wp/ and 404ing? Check that your themes and plugins use home_url() instead of site_url()