Close this search box.

It’s WordPress Setup Script Testing Time Yo


Now that I have the testing env somewhat setup, i can use the script to test how good i can duct taped this code together.


  • asks for an install name
  • creates USER and DB
  • then pulls WP core files
  • config WP
  • config and enable site for apache
  • config and enable site for NGINX


  • script seems to be mostly working except for the configs
  • wrote a delete install script that cleans up an INSTALL
  • using EOF to copy over the configs
  • the INSTALL argument seems to be causing the issues
  • anything with $ in the configs are being replaced
  • escape those $ yo \$INSTALL
  • script works now

Needs A Better Way To Test This_ I should hook this up to a button


Share this Post:
Scroll to Top