Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

👓 Step by step to run laravel 11, with docker and tailwind

NotificationsYou must be signed in to change notification settings

valb-mig/laravel.docker-tailwind

Repository files navigation

This project objective is to show how to use Laravel with Docker and Tailwind!

📌 Requirements

📌 Installation

📌 Laravel

Warning

Change {project} to to your project name on most of the files

composer create-project --prefer-dist laravel/laravel project

🔧 Ambient configuration

  • Copy the .env.example file to.env
    cp .env.example .env.

Tip

user the./.env.edit file to see the default values.

🔧 Docker configuration

🔩 Ngnix & Mysql

Tip

You can copy the./docker-compose file to see set the default values.

🔩 Docker compose

Tip

You can copy the./docker-compose.yml file to see set the default values.

📌 Tailwind

npm install -D tailwindcss postcss autoprefixer

npx tailwindcss init -p

🔧 Vite configuration

Tip

You can copy the./vite.config.js file to see set the default values.

🚀 Start the project

  • Inside the project folder run the command:
    docker-compose up -d --build

  • Enter the docker bash to run tailwind:
    docker-compose exec app bash

  • Run the command:
    npm run dev

About

👓 Step by step to run laravel 11, with docker and tailwind

Topics

Resources

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp