Closed taliesinpenbardd closed 5 years ago
@taliesinpenbardd thank you, I'm glad to hear that.
That's not possible out of the box. You would have to get rid of gulp-connect-php and modify the dest of the tasks as well.
However you can use external databases with the current setup without changing anything.
How can we use an external database? Specifically, I am running the database on Local by Flywheel.
How would I adjust define( 'DB_HOST', 'localhost' );
in the wp-config of my WordPressify set up to point to that Local by Flywheel database?
Thanks.
Figured it out by looking at the remote host and remote port settings in Local by Flywheel. The change my wp-config file to point at the this db host, my case:
define( 'DB_HOST', '192.168.95.100:4208' );
Hey, great work here ! I'm impressed and very likely to use it in the future, thanks for sharing that.
I'm just wondering if there would be a way to use that with a preexisting local server (in my case, Local by Flywheel, but the question remains for any other brand of dockerized environment). That would minimize the need for an external MySQL database, and we'd just have to adjust the proxy setting in the gulpfile.
The starter theme looks really nice though. Good job guys.