Skip to content

Commit 675f845

Browse files
committed
- run app locally instructions were added
- acceptance tests scripts fixes
1 parent 438c7f2 commit 675f845

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

README.md

+17-6
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,30 @@
1-
## Launch acceptance tests locally:
1+
# Run app locally:
2+
```bash
3+
cd apps/backend
4+
```
5+
- 🧐make sure you have `.env` file in the `apps/backend` folder with proper environment variables
6+
- 🚢make sure you have `docker` and `docker-compose`
7+
- 🛫launch app infrastructure using the following command (it will use docker-compose to launch db, kafka, debezium, etc...):
8+
```bash
9+
npm run launch:infrastructure
10+
```
11+
- 😊start application using
12+
```bash
13+
npm run start:dev
14+
```
15+
16+
# Launch acceptance tests locally:
217
```bash
318
cd apps/backend
419
```
520
- 🧐make sure you have `.env.test.local` file in the `apps/backend` folder with proper environment variables
621
- 🚢make sure you have `docker` and `docker-compose`
722
- 🛫launch app infrastructure using the following command (it will use docker-compose to launch db, kafka, debezium, etc...):
823
```bash
9-
npm run launch:test:infrastructure
24+
npm run launch:infrastructure:test
1025
```
1126
- 😊run tests with
1227
```bash
1328
npm run test:acceptance
1429
```
1530

16-
## Run app locally:
17-
- make sure you have `.env` file in the `apps/backend` folder with proper environment variables
18-
- make sure you have `docker` and `docker-compose`
19-
- TODO

0 commit comments

Comments
 (0)