Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #97 from ar-io/update-readme-tests
Browse files Browse the repository at this point in the history
chore(README): update readme
  • Loading branch information
dtfiedler authored Jan 18, 2024
2 parents 64f906b + 15a9c09 commit 36ffda5
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,40 @@ You can `cp .env.sample .env` and modify them locally.

Integration tests are used to validate endpoints and response payloads. Then can be run locally via:

1. Set `.env` to:

```shell
GATEWAY_HOST=localhost
GATEWAY_PORT=1984
GATEWAY_PROTOCOL=http
```

2. Run the service locally:

```shell
yarn start:watch
```

3. Run the integration tests:

```shell
docker compose up arns-service -d --build
yarn test:integration:local
```

or entirely via docker compose:

1. Update the `.env` file to (or remove it entirely):

```shell
GATEWAY_HOST=arlocal
GATEWAY_PORT=1984
GATEWAY_PROTOCOL=http
```

2. Spin up docker containers and run the integration tests:

```shell
yarn docker:integration
yarn test:docker
```

## Swagger
Expand Down

0 comments on commit 36ffda5

Please sign in to comment.