DigitalOcean API WordPress installation Activation.

Hi there, I am currently using the DigitalOcean API to generate sites automatically.

I am generating the site, hooking the domains up etc so I can access the site. When I do access the site I get:

Please log into your droplet via SSH to enable your WordPress installation.

As the sites are being created pragmatically is there anyway I can get around this using the DigitalOcean API?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


You may want to look at doctl as it can run locally (I use it on my Macbook Pro) and it can connect via SSH.

I don’t run automation from my MBP right now, though if I were to do so, that’s probably what I’d use. You could wrap a bash script around it to simplify it further (i.e. reduce down common commands).

You could do one of the following which have Wordpress Deployment and quick builds of servers: (Referral link for me)

Both are pretty easy and straight forward, you could do a full WP deployment via their API on ServerPilot, you just would need to call DO to create the Droplet, then ping Serverpilot for the install - some options if nothing else, may not fit, but something to look at/consider.

If you can implement the API, why not implement SSH and execute the commands necessary?