This is my setup process covering the projects I tend to work on most regularly. This lately I mostly develop Eleventy, Perch Runway, WordPress and Statamic. Although we have dropped Perch Runway due to the lack of support from the developers in favour of Statamic. Perch sites are still supported though.
The optional installs listed are my preferences, i.e. If your running WordPress you will need something to run a local server, I use Mamp Pro, thus it's a optional, there are various ways to run local servers, this is one method.
Install HomeBrew
Install Iterm 2
Install Git
Mamp Pro
Laverel Valet
Visual Studio Code
Panic Transmit
Termius SSH client
Browser Firefox Dev
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew update
Installing and setting up Git involes the following;
- Install Git using Homebrew
- Create a SSH key
- Set your identity for your global Git settings
The above steps are documented on my Git User Guide
A dependency manager for PHP.
- Copy the below into a terminal and run.
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '795f976fe0ebd8b75f26a6dd68f78fd3453ce79f32ecb33e7fd087d39bfeb978342fb73ac986cd4f54edd0dc902601dc') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
- Move composer to Global
mv composer.phar /usr/local/bin/composer
https://www.mamp.info/en/downloads/
# Preferences
Ports / Set server ports to Mamp Pro
I really like this terminal due to flexibility.
$ brew cask install iterm2
Basic setup, these are just my preferences.
# Appearance
Theme - Minimal
# Profile
Foreground colour #b5d567
Font size 17px
Keys / Presets / Natural text editing
$ brew cask install visual-studio-code
Themes and extensions are synced with my GitHub account.
Launching from the command line
You can also run VS Code from the terminal by typing 'code' after adding it to the path:
Launch VS Code.
Open the Command Palette (⇧⌘P) and type 'shell command' to find the Shell Command: Install 'code' command in PATH command.
https://www.panic.com/transmit/
Sync data across devices, big time saver.
Great appliction which saves keys, snippets and securely sync data across devices, big time saver for working on live web servers.
https://www.mozilla.org/en-US/firefox/developer/
Window manager, very handy. Not being developed any more, but still works
$ brew cask install spectacle
$ brew cask install alfred