Skip to content

Instantly share code, notes, and snippets.

@taotiwordpress
Created August 24, 2021 13:43
Show Gist options
  • Save taotiwordpress/f1d0ec805097f4687de75a5977b044be to your computer and use it in GitHub Desktop.
Save taotiwordpress/f1d0ec805097f4687de75a5977b044be to your computer and use it in GitHub Desktop.
Note Cheatsheets

Command Cheat Sheets

terminus

  • Site List: terminus taoti:site:list
  • Multidev
    • Create: terminus multidev:create --

WP Commands

Example Usage for terminus: terminus wp <site>.<env> -- <command> Example Usage for lando: lando wp <command>

  • Update Database: wp core update-db
  • List Users: wp user list
  • Update Specific User's Password: `wp user update --user_pass=bubbles
    • Only do this for Lando, otherwise look up in LastPass and leave unchanged.
  • Deactivate Plugin: wp plugin deactivate <plugin> OR (for bulk deactivations) wp plugin deactivate <plugin_1> <plugin_2> <plugin_3>
  • Access a SAML-based SSO Managed Site Locally: lando wp plugin deactivate wp-saml-auth
    • There's usually a 'child' plugin with SSO credentialing, but disabling wp-saml-auth allows for a wp-based password to be set for an existing (or new) user via wp user update.

Task Comments

Insurance

Patches Applied:

Patches/Updates applied and successful multidev generated at https://insurance-<site>.pantheonsite.io/

MultiDev Update Needed:

Confirmed codebase.
Need to fully update Upstream prior to <site> update for 'Taoti WordPress'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment