Platform dedicated to simplifying complex technical topics by providing clear and concise information.
Install Docker by following this link : https://docs.docker.com/engine/installation
Start by cloning this repository.
Then copy the file .env.example
to a file named .env
. For instance:
cp .env.example .env
Next, make sure that there is no application running on port 80, then start all the Docker containers with the
docker compose up -d
Enter your web container with docker exec :
docker exec -ti web_insight_haven_web bash
Run the following command to create your Laravel App Key :
php artisan key:generate
You can then down & up your containers :
docker compose down
docker compose up -d
First time on the project, you must run migration
php artisan migrate
If you want data in your database, you can run seed
php artisan db:seed
Feel free to use the following command to reset your database to initial state (with fake data) :
php artisan migrate:fresh --seed
- Plateform : http://webinsighthaven.localhost
- PHPMyAdmin : http://phpmyadmin.webinsighthaven.localhost
- Traefik dashboard : http://traefik.webinsighthaven.localhost
- Mailhog : http://mailhog.webinsighthaven.localhost