Create readme

This commit is contained in:
Thang Tran 2023-03-02 13:26:23 +07:00
parent 1d1a7d8ba9
commit 813ba7df8c
2 changed files with 13 additions and 6 deletions

View File

@ -3,9 +3,6 @@
</p> </p>
# GildedRose Kata - PHP Version # GildedRose Kata - PHP Version
See the [top level readme](../README.md) for general information about this exercise. This is the PHP version of the
GildedRose Kata.
## Installation ## Installation
The kata uses: The kata uses:
@ -30,6 +27,16 @@ or
git clone https://github.com/thang-tran-nfq/GildedRose-Refactoring-Kata.git git clone https://github.com/thang-tran-nfq/GildedRose-Refactoring-Kata.git
``` ```
Setup docker-compose
```shell script
docker-compose up -d
```
Exec the docker container
```shell script
docker exec -it php-cli bash
```
Install all the dependencies using composer Install all the dependencies using composer
```shell script ```shell script

View File

@ -1,9 +1,9 @@
version: "3.9" version: "3.9"
services: services:
php-cli: kata-cli:
container_name: php-cli container_name: kata-cli
image: customer-core-api-php-cli image: kata-cli
build: build:
context: .docker/php context: .docker/php
args: args: