Go to file
2024-06-06 14:08:10 +07:00
api-cronjob Fix: partial #62 2024-03-15 08:46:06 +07:00
cope2n-ai-fi Fix: logging file name for AI service 2024-06-06 14:08:10 +07:00
cope2n-api Fix: empty accuracy requests 2024-06-06 13:15:42 +07:00
cope2n-fe Merge pull request #124 from SDSRV-IDP/refactor/review-filter 2024-05-24 13:30:37 +07:00
junk_tests Apply changes 2024-02-05 12:56:51 +07:00
node_modules fix: check env 2024-02-01 13:19:33 +07:00
scripts Add: sub to API 2024-03-29 18:34:02 +07:00
test_samples Update: Test cases 2024-05-03 08:51:05 +07:00
tests Update: Test cases 2024-05-03 08:51:05 +07:00
.dockerignore Update: new deploy flow for AWS 2023-12-22 10:54:04 +07:00
.env_sample Add: sample env 2024-01-11 17:38:16 +07:00
.gitignore Fix: #101 2024-03-26 16:26:10 +07:00
.gitmodules Update: table design 2024-01-24 14:14:33 +07:00
deploy_images.py Update: more logging for model performance 2023-12-29 14:24:52 +07:00
deploy_images.sh Fix: #61 2024-03-04 15:38:38 +07:00
docker-compose-dev.yml Update: API, logic 2024-05-17 19:39:31 +07:00
docker-compose-prod.yml Update: #61 on prod environment 2024-03-05 10:22:15 +07:00
docker-compose.yml Update: build flow 2023-12-26 10:42:21 +07:00
README.md Update: API, logic 2024-05-17 19:39:31 +07:00
unset_env.sh Update: request_list API 2024-02-21 12:46:41 +07:00

SBT Project

Local development

  • Prepare .env file.
  • Run for local development:
docker compose --profile local up -d

Run tests

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