Web Development

Restoring VVV functionality to Pressmatic

I switched from developing using Vagrant with VVV to using the new Mac app Pressmatic. I’ve been very happy, and so has my Mac—the dev environment runs much faster and my computer has been working a lot less. Less fan noise is good.

The server environment that Pressmatic uses don’t have some basic stuff that I needed to maintain compatibility with my setup. This is a running list of items that I’ll update as I come across more requirements:

  • wget
  • Subversion
apt-get install wget subversion curl php5-cli git
apt-get update

To set up unit testing, we’ll need to do a few more things. The following are taken from Tom McFarlin’s great article on unit testing with Pressmatic.

# Make sure required libraries are installed
apt-get install curl php5-cli git

# Install Composer
curl -sS | php -- --install-dir=/usr/local/bin --filename=composer

# Tell Composer what version of PHPUnit to run
composer global require "phpunit/phpunit=4.8.*"

# Tell the server where to find Composer
export PATH="$PATH:$HOME/.composer/vendor/bin"

Oh My Zsh!

I love Oh My Zsh; it’s a simple way to make your shell console a lot better. A big must-have for me is improved directory navigation: I don’t want to prefix changing directories with cd [...]; just let me type ../!

Here’s the code to install it:

apt-get install zsh

# Install oh-my-zsh
sh -c "$(wget -O -)"

Then restart your console and you should be running Zsh. If not, type zsh.

By Zack Katz

Zack Katz is the founder of GravityKit and TrustedLogin. He lives in Leverett, Massachusetts with his wife Juniper.

2 replies on “Restoring VVV functionality to Pressmatic”

I’m now using Local by Flywheel, who purchased Pressmatic. They’ve been updating it more. Theme Juice looks very cool, though.

Comments are closed.