c0efb767e8
Be/review page |
||
---|---|---|
api-cronjob | ||
cope2n-ai-fi | ||
cope2n-api | ||
cope2n-fe | ||
junk_tests | ||
scripts | ||
test_samples | ||
tests | ||
.dockerignore | ||
.env_sample | ||
.gitignore | ||
.gitmodules | ||
deploy_images.py | ||
deploy_images.sh | ||
docker-compose-dev.yml | ||
docker-compose-prod.yml | ||
docker-compose.yml | ||
README.md | ||
unset_env.sh |
SBT Project
Local development
- Prepare
.env
file. - Run for local development:
docker compose --profile local up -d
Run tests
pip 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-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