54d1be4c34
fix: show error when call api failed |
||
---|---|---|
cope2n-ai-fi | ||
cope2n-api | ||
cope2n-fe | ||
node_modules | ||
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 |
SBT Project
Local development
- Prepare
.env
file. - Run for local development:
docker compose --profile local up -d
Run tests
pip3 install pytest requests
IDP_HOST=https://sbt.idp.sdsrv.ai IDP_USERNAME=<username> IDP_PASSWORD=<password> python3 -m pytest --log-cli-level=DEBUG --capture=sys tests