Go to file
2024-06-26 16:40:33 +07:00
api-cronjob Fix: partial #62 2024-03-15 08:46:06 +07:00
cope2n-ai-fi Update: model 2024-06-26 15:51:29 +07:00
cope2n-api Consilidate logger 2024-06-26 16:40:33 +07:00
cope2n-fe Merge pull request #144 from SDSRV-IDP/BE/processing_time 2024-06-25 11:00:17 +07:00
junk_tests Apply changes 2024-02-05 12:56:51 +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_dev Add logging 2024-06-26 14:58:24 +07:00
.env_sample Add: sample env 2024-01-11 17:38:16 +07:00
.gitignore Add logging 2024-06-26 14:58:24 +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 Add logging 2024-06-26 14:58:24 +07:00
docker-compose-prod.yml Add logging 2024-06-26 14:58:24 +07:00
docker-compose.yml Update: build flow 2023-12-26 10:42:21 +07:00
README.md Add logging 2024-06-26 14:58:24 +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

pip install pytest requests deepdiff
IDP_HOST=http://ocrnlb-stagging-671b98778cba8a08.elb.ap-southeast-1.amazonaws.com 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