First of all, you have to install mkcert to your machine. https://github.com/FiloSottile/mkcert
This tool allows to make locally-trusted development certificates, allowing to work with https in local env.
Thereafter, follow these steps:
- Launch the command
./tools/init.sh
. It will install a local CA in your system and initialize pre-commit hook. - Run
sudo vi /etc/hosts
and adddev.saintebernadattemontpellier.cef.fr
to the first line. It will map dev.saintebernadattemontpellier.cef.fr domain to localhost on your machine. - Run
./tools/start.sh -e dev build
to build the container - Run
./tools/start.sh -e dev up
to up the container - Go to https://dev.saintebernadattemontpellier.cef.fr
Your dev env should be ready.