Install using macOS LEMP & dudestack
How to use Air-light in a native macOS LEMP environment with a modern WordPress development stack based on roots/bedrock.
Last updated
How to use Air-light in a native macOS LEMP environment with a modern WordPress development stack based on roots/bedrock.
Last updated
This is an option we at here use.
Set up by following the instructions on GitHub.
Ensure that works and ~/Projects is linked to /var/www and both exist
Install by following instructions provided in the repository
Install
Create a new project by using dudestack's createproject
command (explained )
From Terminal go into bin folder: cd /path/to/where/you/cloned/air-light/bin
and run sh newtheme.sh
. This script takes care of the rest as it updates textdomain with your project name, checks updates for air and npm packages, runs npm install, fetches devpackages, sets up gulp, cleans up the leftover files and activates the theme via WP-CLI.
Go back to project directory cd ~/Projects/yourproject
, run gulp
and start coding!