sbt-idp/README.md
2024-06-26 14:58:24 +07:00

20 lines
562 B
Markdown

# SBT Project
## Local development
- Prepare `.env` file.
- Run for local development:
```bash
docker compose --profile local up -d
```
## Run tests
```bash
pip install pytest requests deepdiff
IDP_HOST=http://ocrnlb-stagging-671b98778cba8a08.elb.ap-southeast-1.amazonaws.com IDP_USERNAME=sbt IDP_PASSWORD=7Eg4AbWIXDnufgn python3 -m pytest --log-cli-level=DEBUG --capture=sys tests
```
IDP_HOST=http://ec2-54-169-227-39.ap-southeast-1.compute.amazonaws.com:9881 IDP_USERNAME=sbt IDP_PASSWORD=abc python3 -m pytest --log-cli-level=DEBUG --capture=sys tests