luangjokaj / wordpressify

🎈 Automate your WordPress development workflow.
http://www.wordpressify.co
MIT License
1.6k stars 142 forks source link

Possibility to install wordpressify on a already existing local server ? #39

Closed taliesinpenbardd closed 5 years ago

taliesinpenbardd commented 5 years ago

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.

luangjokaj commented 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.

mware commented 4 years ago

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.

mware commented 4 years ago

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: Screen Shot 2020-08-27 at 11 01 03 AM


define( 'DB_HOST', '192.168.95.100:4208' );