Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
update README.md

add index.php
  • Loading branch information
r3nyou committed Nov 16, 2023
1 parent 6fbdfed commit f710c3e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
@@ -1,11 +1,11 @@
## set up
```
docker build -t php-74 .
docker run -it --rm -v "$PWD":/var/www php-74 bash
docker build -t php-fpm-82 .
docker run -it --rm -v "$PWD":/var/www php-fpm-82 bash
composer install
```

execute unit test
```
./vendor/bin/phpunit
./vendor/bin/phpunit tests/
```
7 changes: 7 additions & 0 deletions src/index.php
@@ -0,0 +1,7 @@
<?php
require_once 'vendor/autoload.php';

use App\HelloWorld;

$helloWorld = new HelloWorld();
echo $helloWorld->say();

0 comments on commit f710c3e

Please sign in to comment.