- You should create a new directory in your project. For example:
devstack
- You should go to this directory in cli mode.
- Launch the command:
git clone [email protected]:AUnhurian/devstack.git .
- You should copy
.env.example
in the.env
file to configure the docker environment. - Launch the
make setup
command to create and set up docker containers. (Important: Please, suspend all other docker containers to avoid port conflicts.)
make start-d
- It will rebuild your container settings and set up docker containers.make quick-start-d
- It will do the same asmake start-d
but without relaunching the composer and migrations.make restart
- It will stop docker containers and launchmake start-d
.make bash
- It will open CLI in the docker container with your project.make command="<your command>" root
- It will launch the command in the docker container with your project as the root user.