Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yoanbernabeu/symfony-and-docker-makefile-taskfile

Symfony And Docker Makefile + Taskfile
https://github.com/yoanbernabeu/symfony-and-docker-makefile-taskfile

makefile symfony taskfile

Last synced: 1 day ago
JSON representation

Symfony And Docker Makefile + Taskfile

Awesome Lists containing this project

README

        

# Symfony And Docker Makefile + Taskfile

A Makefile and Taskfile to improve the DX of your Symfony projects!

You will find a collection of everyday useful commands in a Symfony project.

Feel free to modify it for your projects.

![Symfony And Docker Makefile + Taskfile](screenshot.gif)

## 1. Table of Contents

* 1. [Table of Contents](#TableofContents)
* 2. [Makefile](#Makefile)
* 2.1. [Requirements](#Requirements)
* 2.2. [Installation](#Installation)
* 2.3. [Usage/Examples](#UsageExamples)
* 3. [Taskfile](#Taskfile)
* 3.1. [Requirements](#Requirements-1)
* 3.2. [Installation](#Installation-1)
* 3.3. [Usage/Examples](#UsageExamples-1)
* 4. [License](#License)

## 2. Makefile

### 2.1. Requirements

*This file was created to be used in a Linux environment, some commands should be adapted to your operating system.*

* You must have `make` on your computer.

* You can check if `make` is available with the command:

```bash
make -v
```

### 2.2. Installation

You just need to add the file `Makefile` to the root of your Symfony project

```bash
wget https://raw.githubusercontent.com/yoanbernabeu/Symfony-And-Docker-Makefile-Taskfile/main/Makefile
```

### 2.3. Usage/Examples

To get help from the file, just run the command:

```bash
make help
```

Then choose your "target" and have fun with it:

```bash
make [target]
```

## 3. Taskfile

### 3.1. Requirements

*This file was created to be used in a Linux environment, some commands should be adapted to your operating system.*

* You must have `task` on your computer.

* You can check if `task` is available with the command:

```bash
task --version
```

### 3.2. Installation

You just need to add the file `Taskfile.yaml` to the root of your Symfony project

```bash
wget https://raw.githubusercontent.com/yoanbernabeu/Symfony-And-Docker-Makefile-Taskfile/main/Taskfile.yaml
```

### 3.3. Usage/Examples

To get help from the file, just run the command:

```bash
task help
```

Then choose your "target" and have fun with it:

```bash
task [target]
```

## 4. License

[MIT](LICENSE)