2023-12-12 05:54:34 +00:00
|
|
|
# SBT Project
|
|
|
|
|
2023-12-26 07:09:31 +00:00
|
|
|
## Local development
|
|
|
|
|
|
|
|
- Prepare `.env` file.
|
|
|
|
- Run for local development:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
docker compose --profile local up -d
|
|
|
|
```
|
|
|
|
|
|
|
|
## Run tests
|
|
|
|
|
|
|
|
```bash
|
2024-05-17 12:39:31 +00:00
|
|
|
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
|
2023-12-26 07:09:31 +00:00
|
|
|
```
|
2024-05-17 12:39:31 +00:00
|
|
|
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
|
2023-12-26 07:09:31 +00:00
|
|
|
|