Closed gaswirth closed 9 years ago
I seem to have narrowed this down to selecting "a" when told that WordPress is already installed, as opposed to "Y" (or simply hitting 'enter')!
Thank you!
Glad I could help ;)
Whelllp......I'm a superjerk. I was totally wrong about the prompt being the culprit. Turns out, when I supply database login credentials that don't work, the script finishes fine--if I give the script real, working login values, the script hangs/freezes/has a beer at the final "only human" message.
My current workaround is to run "yo wordpress" from a shell script, supplying dummy db values to the generator, and then finishing up by prompting for new db name, user, and pass and creating them on the fly, and then (haven't added this yet) have the script change my wp-config values.
Possibly this: https://github.com/wesleytodd/wp-util/pull/3
Let me know if the newest version of the generator works, it has that fix in it.
Yep! That did it! You rock!
Roundhouse Designs roundhouse-designs.com
On Fri, Jan 30, 2015 at 7:00 PM, Wes Todd notifications@github.com wrote:
Let me know if the newest version of the generator works, it has that fix in it.
— Reply to this email directly or view it on GitHub https://github.com/wesleytodd/YeoPress/issues/127#issuecomment-72291763.
Thank @Toddses, he's the one that rocks.
pew pew!
going to go ahead and close this one.
Hi there,
When I run YeoPress, everything goes swimmingly until I get to the very end, where I'm presented with the "check your
wp-config.php
...." message, at which point I have to manually abort the process with Ctrl+C to get back to a prompt. I'm trying to run YeoPress from a simple shell script that performs other tasks (to be clear, this happens when I run a simple "yo wordpress" or when it runs from the script), but since the generator never terminates, my script can't continue.Apologies if this is a dumb issue/question, but I wasn't able to find anything related, and this is all quite new to me!