Skip to content

Commit 0e2deed

Browse files
committed
change readme
1 parent 4fa222b commit 0e2deed

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,26 +26,21 @@ Application is prepared for run in container, you can start development same way
2626
1. Clone this repository: `git clone git@github.com:keboola/dynamodb-extractor.git`
2727
2. Change directory: `cd dynamodb-extractor`
2828
3. Build services: `docker-compose build`
29-
4. Run tests `docker-compose run --rm app-tests` (runs `./tests.sh` script)
29+
4. Run tests `docker-compose run --rm app composer ci`
3030

3131
After seeing all tests green, continue:
3232

33-
1. Run service: `docker-compose run --rm app` (starts container with `bash`)
33+
1. Run service: `docker-compose run --rm app-tests` (starts container with `bash`)
3434
2. Create tables/indexes and load sample data: `php init.php`
3535
3. Write tests and code
36-
4. Run tests: `./tests.sh`
36+
4. Run tests: `composer tests`
3737

3838
To simulate real run:
3939

4040
1. Create data dir: `mkdir -p data`
4141
2. Follow configuration sample and create `config.json` file and place it to your data directory (`data/config.json`)
4242
3. Simulate real run (with entrypoint command): `php ./src/app.php run ./data`
4343

44-
### Tests
45-
46-
- all in one: `./tests.sh`
47-
- or separately, just check `tests.sh` file contents
48-
4944
## License
5045

5146
MIT licensed, see [LICENSE](./LICENSE) file.

0 commit comments

Comments
 (0)