wesleytodd / YeoPress

A Yeoman generator for WordPress
Other
1.08k stars 163 forks source link

Install WP DB #108

Open jahvi opened 10 years ago

jahvi commented 10 years ago

I just ran into this script that basically let's you download and setup WP with a single command and I was wondering if the last couple lines would be the answer for this:

https://github.com/wesleytodd/YeoPress/blob/master/app/index.js#L366-L367

It seems like a viable solution to finally automate the whole WP setup with yeopress

wesleytodd commented 10 years ago

Looks like it might work. I know that I have had some problems with different environments and just running php -r "some code". Which is why the wp-util package does not just require in the config file and echo out the values.

But maybe if we can get a solution for that problem this would work across the board. If you want to mess around with it and submit a PR I would merge it for sure.