pento / testpress

Tool for helping you get a WordPress Core test environment up and running.
GNU General Public License v2.0
68 stars 2 forks source link

Forked wordpress develop doesn't run in TestPress #148

Closed draganescu closed 5 years ago

draganescu commented 5 years ago

Describe the bug I cloned a fork of wordpress-develop and setup Testpress to use that as WP folder. I waited for everything to be OK and then visiting http://localhost:9999 WP install starts and whatever I tried it says

Error establishing a database connection

To Reproduce Steps to reproduce the behavior:

  1. Make a fork of Wordpress/wordpress-develop
  2. Clone that repo
  3. Set test press to use it as worpress folder
  4. Visit site
  5. See problem

Expected behavior To work just as the wordpress git repo does.

Device:

draganescu commented 5 years ago

@azaozz had a simiar problem on setting up the windows version and @pento suggested the fix would be:

We need to create wp-config.php in src, not build.

draganescu commented 5 years ago

@pento is this a duplicate of #145 ?

pento commented 5 years ago

Yah, it sounds like it could be a duplicate. Easy way to check is to run grunt build in your WordPress folder, then try starting TestPress again.

draganescu commented 5 years ago

closing as a duplicate of #145