The first time you start the system, create the .env
file from the .env.example
file using the following command:
cp .env.example .env
Next, start the containers and build the application container using the command:
docker-compose up -d --build
Check if the vendor
folder has been created or already exists. If not, install PHP dependencies with the command:
docker-compose exec app composer install
Wait a few seconds until the MySQL container is ready, and then execute the command to configure the database and perform the initial data load:
docker-compose exec app php artisan migrate --seed
With these steps, the system will be ready to be used for the first time.