diff --git a/Makefile b/Makefile index 30b59a1..a8f72cf 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ build: ## Builds the Docker images up: ## Start the docker hub in detached mode (no logs) @$(DOCKER_COMP) up --detach -start: build up ## Build and start the containers +start: build up tailwind ## Build, start the containers and run the tailwind watch command dev: up tailwind ## Start the docker hub in detached mode and run the tailwind watch command diff --git a/README.md b/README.md new file mode 100644 index 0000000..4a42eda --- /dev/null +++ b/README.md @@ -0,0 +1,30 @@ +# Symfony with Tailwind and Twig Components + +This project is a demonstration of using Tailwind CSS with Twig Components in a Symfony project. + +## Prerequisites + +- Docker +- Make + +## Starting the project + +1. Clone the repository: + + ```bash + git clone https://github.com/ErwannRousseau/symfony-docker + cd symfony-docker + ``` + +2. Build and start the Docker containers: + + ```bash + make start + ``` + +3. Access the application in your browser at [https://app.localhost](https://app.localhost). + +### Docker + +This project is based on Docker with frankenphp. +You can find more information on this repo: [dunglas/symfony-docker: A Docker-based installer and runtime for Symfony. Install: download and `docker compose up`.](https://github.com/dunglas/symfony-docker)