Installing And Managing WordPress From The Command Line
The command line can be faster and easier for a lot of tasks. But its not for everyone. Still, if you’re someone that is comfortable there, then read on for a surprise.
WPCloud Deploy Command Line Tools
The architecture of WPCloud Deploy is one of a loosely coupled connection between our plugin and your WordPress server.
In practice this means that WPCloud Deploy sends scripts to your server to execute your desired action and then reads the results of that action.
For command line lovers, this opens up an opportunity!
WPCloud Deploy ships with BASH scripts that you can run yourself. These are the same scripts that it uses in the background to perform actions you request.
All you have to do is upload the scripts to your server and run the ones you need.
For example, you can use the 01-prepare_server.sh script to take a newly minted Digital Ocean server and automatically install everything you need to turn it into a WordPress server – php, nginx, wp-cli, MariaDB and more are all installed with just a few keystrokes.
Then, you can use the 02-install_wordpress_site.sh script to add a site.
Each script prompts you for information and then does the thing.
You don’t even need the plugin!
So just purchase WPCloud Deploy and get powerful command line access scripts! And the best part is that we are constantly updating the scripts to add new features as well as adding new scripts with more powerful commands!
How is this command line different from Easy Engine or WordOps?
The major difference between our command line tools and something like EE or WO is that our scripts are interactive. When you run one of our scripts without setting environment variables, you are prompted for values.
When you run a WO or EE command, you have to enter all values at the command line.
Our scripts do not allow you to pass options on the command line. Instead, you set them via environment variables. You can set some of them and the script will prompt you interactively for any that are missing.
WO or EE are designed with the command line as the primary focus. Our scripts are designed with a UI as the primary focus and the command line as the secondary focus.
Overall, this makes our scripts much easier to use for a new or intermediate command line user.
One last difference – our scripts have a wider range of features. We provide some scripts that blur the line between a WordPress management panel and something like cPanel or Plesk.
Follow us on Twitter! We post a lot of cool things there first. Click the bird below!