Skip to main content

How-to-take-over-a-Wordpress-site

  1. Create a new repo using the instructions for Bedrock, i.e. composer create-project roots/bedrock <project-name>.
  2. Update name, author, license and description in composer.json
  3. Remove CHANGELOG.md and CONTRIBUTING.md
  4. Add Prettier 🚧
  5. Add ESLint 🚧
  6. Add Editorconfig 🚧
  7. Add nvmrc 🚧
  8. Update .env.example
  9. Update README.md 🚧
  10. Search wpackagist.org and packagist.org for all the plugins and themes that are active in the site and add them via composer require. Specify the current version (don’t use the latest at this step)
  11. For plugins and themes that can’t be found this way (because they are payed plugins or no longer available) copy the files and add an exception in .gitignore so that they are tracked in the repo.
  12. Look through the activated themes for any build tools (e.g. Gulp) and make sure they can be run.
  13. Create database with wp create
  14. Import database from dump via wp db import my-dump.sql
  15. Change the name of the admin user to whitespace and the email to d+<clientname>@whitespace.se
  16. Change the site admin email
  17. Add Flightplan 🚧