Guys, come on, it’s very easy.
The steps are as follows:
- make sure you’ve got HomeBrew installed https://brew.sh/
- install nginx
brew install nginx– as simple as that!
- install php
brew install php(should install php74 by default)
- install postgres
brew install postgres– yes, not that hard!
Commands you should need:
sudo nginx -s stop– to stop nginx server
sudo nginx– to start nginx server
brew services start postgresqlto start postgres (you can start/restart/stop this thing