api-console icon indicating copy to clipboard operation
api-console copied to clipboard

README doesn't cover prerequisites

Open grandpaslab opened this issue 9 years ago • 1 comments

In "Step 1: Creating a Consumer", the README describes running 'wp oauth1 add' on the command line. This requires wp-cli, right? Had to figure that out myself. Now I've installed wp-cli, so I can run that command, but it gives me no output. Am I missing something else? More info please! README should mention/link to pre-reqs.

grandpaslab avatar Apr 22 '15 21:04 grandpaslab

In my case I was getting a MySQL error saying it couldn't establish a connection when I ran that command. I came across their site wp-cli.org which has some documentation and instructions. My problem was I was running MAMP and the CLI was referring to the PHP that comes with the Mac itself. Implemented the fix described in this answer and ran the wp oauth1 add inside the my WordPress installation and the keys were generated successfully.

Isuru-Nanayakkara avatar Dec 17 '15 14:12 Isuru-Nanayakkara