I’ve had the privilege of being a part of an early testing group for the brand new Mac (and soon for Windows) application called Pressmatic. While Pressmatic has only been around a short while, it instantly competes with all the other players in the game. There are already a few in-depth reviews available, so I just want to go over some killer features that will hopefully convince you to give Pressmatic a chance. Let’s begin.
What in the world is ngrok? That was my first thought too. ngrok is a tunneler that allows you to share your local development sites with clients, or friends without the need to deploy. Ever wanted to check out a local site on your smartphone, only to spend the next couple hours trying to figure out a solution locally? (See my squidman post) And then you usually just deploy to a live server anyway in order to test. ngrok changes that. It’s super simple to use with Pressmatic. All you need to do is enable the add-on:
And then in the site settings, under Utilites, enable the tunnel:
Once the tunnel is enabled, you can just click on the link to view the site, or type it into your smartphone’s browser and voila! You can view your local site from anywhere.
4 years ago, I wrote a post on how to send mail from Max OS X using Postfix. That was 4 years ago (light years in tech terms) and yet not much has changed. All I usually need is to make sure the site is sending emails properly, before deploying to production. Enter MailCatcher. MailCatcher runs a super simple SMTP server which catches any message sent to it to display in a web interface. While this does not allow outbound emails, it does create a simpler solution for my needs than Postfix and all that mess.
To use MailCatcher, simply navigate to the site settings > utilities tab and click on “Open Mailcatcher”.
Once opened, you will be able to see all emails sent through your Pressmatic WordPress install.
3. Hot-Swapping PHP Versions
So, in a perfect world, everybody would be using the latest version of PHP, and all their code would be compatible. But we don’t live in a perfect world and with WordPress officially supporting PHP 5.2.4 still, we have to write code that works for everyone. With that being said, Pressmatic makes that super simple by allowing you to change out PHP versions on the fly. After your site is created, just go to the main site settings page and choose which PHP version you want from the list (I hear more PHP versions will be available soon!):
Once you’ve made your change, you can confirm that the correct PHP version is working by pressing on information icon right next to the versions drop-down. That will open up a phpinfo() page.
4. One-Click MySQL Admin for Sequel Pro or Adminer
Do you ever find yourself scratching your head trying to remember what the login info is for your MySQL database? Well with Pressmatic, not only do you get all that information readily available in the Database tab, you can also use the one-click buttons to login to the database using Sequel Pro or the built in Adminer (who uses phpmyadmin any more anyway?).
5. Simple SSH
For those of you who are advanced developers, this one is for you. Since Pressmatic is built using docker containers, you have to run any scripts or commands you want inside that virtual machine. For SSH access, simply right click on the site and select “Open Site SSH”:
That will open up terminal and log you in directly to the virtual machine as the root user. Simple (and way faster than vagrant ssh).
You can even set your default SSH client in the main settings:
As you probably have figured out by now, the theme of this post is: Pressmatic is simple. Enough talk, do yourself a favor and try it out today!