20 lines
514 B
Markdown
20 lines
514 B
Markdown
# SBT Project
|
|
|
|
## Local development
|
|
|
|
- Prepare `.env` file.
|
|
- Run for local development:
|
|
|
|
```bash
|
|
docker compose --profile local up -d
|
|
```
|
|
|
|
## Run tests
|
|
|
|
```bash
|
|
pip3 install pytest requests deepdiff
|
|
IDP_HOST=https://sbt.idp.sdsrv.ai IDP_USERNAME=sbt IDP_PASSWORD=7Eg4AbWIXDnufgn python3 -m pytest --log-cli-level=DEBUG --capture=sys tests
|
|
```
|
|
IDP_HOST=http://ec2-13-212-90-87.ap-southeast-1.compute.amazonaws.com:9881 IDP_USERNAME=sbt IDP_PASSWORD=abc python3 -m pytest --log-cli-level=DEBUG --capture=sys tests
|
|
|