Apache is running on port 80 and interfering with Valet.
- Stop Apache:
sudo /usr/sbin/apachectl stop
- Restart Valet:
valet restart
#NGINX | |
ln -s /etc/nginx/sites-available/myapp /etc/nginx/sites-enabled/myapp | |
#APACHE | |
ln -s /etc/apache2/sites-available/myapp /etc/apache2/sites-enabled/myapp |
In 5 minutes, you’ll have a brand new clean Statamic site, with Tailwind CSS and PurgeCSS configured.
It assumes that you work on a Mac, you put your site in ~/sites and you use Laravel Valet.
All the credit go to Jack McDade and philipboomy, from whom I stole and adapt the build scripts and the PurgeCSS config, because I have really absolutely no idea what I am doing with all this Terminal Black Magic ™; this is only a detailed write up of the process.
You'll need Yarn and Node. You can install them both in one command via Brew: brew install yarn