Skip to content

Commit 202b70f

Browse files
committed
doc: added readme
1 parent d14bd92 commit 202b70f

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.env.test

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ APP_SECRET='$ecretf0rt3st'
44
SYMFONY_DEPRECATIONS_HELPER=999999
55
PANTHER_APP_ENV=panther
66
PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots
7+
DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"

README.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# fake-fortee for phpcon2023 talk "SymfonyとDoctrineで始める安全なモジュラモノリス"
2+
3+
## how to run tests
4+
5+
```shell
6+
composer install
7+
symfony console doctrine:schema:update --force --env=test
8+
vendor/bin/phpunit
9+
```
10+
11+
## how to see application working
12+
13+
Install Symfony command first. The instruction is here: https://symfony.com/download#step-1-install-symfony-cli
14+
15+
```shell
16+
composer install
17+
docker compose up -d
18+
symfony console doctrine:schema:update --force
19+
symfony console app:demo
20+
symfony server:start -d
21+
```
22+
23+
Visit http://127.0.0.1:8000 in your browser.

0 commit comments

Comments
 (0)