- Install Docker
- Make sure nothing is running on ports 80
- Make sure
makeis installed on your machine this should already be installed on Mac Os, and a lot of other *nix distros.
To get stated quickly:
make init start This will build and start the containers. NOTE: ensure that no other cli jobs/processes are running before running this command.
Either make start or docker-compose up -d
This will launch all the containers need for running the application.
You should be able to visit localhost:80
Bower and npm run whenever the container run make deploy You can also run each one individually, see Makefile for more.
For css Compilation we are using SASS (with scss) and Gulp. Just run:
make cssIf you are getting errors about directories or permission issues, the following will recreate the app and log directories.
make clear-cacheIf you need to get to an internal container command line, to run other commands and such just:
docker exec -it php-cli /bin/bash