- install docker
- install docker-compose
- clone the repository
- copy the
.env.example
file to.env
using this command in project's root:cp src/.env.example src/.env
- run
docker-compose up
and there you go ; your development environment is ready at http://localhost:8060. if you want to have it running always in background rundocker-compose up -d
.
-
how to run artisan or php commands?
a: open an interactive shell to your app container using
docker exec -it ldb_app bash
then you have php and composer available.