Skip to content

Commit

Permalink
Clean up #25
Browse files Browse the repository at this point in the history
  • Loading branch information
heming-h committed Jun 12, 2024
1 parent 6a8c2fe commit b6f1a51
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 13 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/deploy_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ jobs:
- name: Build image and test with nox
run: |-
nox
env:
JWT_SECRET: ${{ secrets.JWT_SECRET }}
ADMIN_USERNAME: ${{ secrets.ADMIN_USERNAME }}
ADMIN_PASSWORD: ${{ secrets.ADMIN_PASSWORD }}
- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,3 @@ jobs:
- name: Build image and test with nox
run: |-
nox
env:
JWT_SECRET: ${{ secrets.JWT_SECRET }}
ADMIN_USERNAME: ${{ secrets.ADMIN_USERNAME }}
ADMIN_PASSWORD: ${{ secrets.ADMIN_PASSWORD }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,4 @@ dmypy.json
*.pt
.DS_Store
Finish_line_config.jpg
20240113_110011_KJ.mp4
*.mp4
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,10 @@ VIDEO_STATUS_FILE=vision-ai-service/config/video_status.json
### Run all tests with coverage reporting
```
% nox -rs tests
```
```

### Push to docker registry manually (CLI)
docker-compose build
docker login ghcr.io -u <github username>
password: Use a generated access token from GitHub
docker push ghcr.io/langrenn-sprint/vision-ai-service:latest
3 changes: 0 additions & 3 deletions vision-ai-service/config/global_settings.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"TIME_ZONE_OFFSET_G_PHOTOS": 2,
"CONFIDENCE_LIMIT": "0.7",
"PHOTOS_FILE_PATH": ".",
"PHOTOS_URL_PATH": "../files",
"PHOTO_THUMB_SIZE": "240",
"PHOTO_THUMB_WIDTH": "240",
"PHOTO_THUMB_HEIGTH": "160",
Expand All @@ -13,7 +11,6 @@
"GOOGLE_PHOTO_SERVER": "https://photoslibrary.googleapis.com/v1",
"GOOGLE_PHOTO_SCOPE": "https://www.googleapis.com/auth/photoslibrary",
"TRIGGER_LINE_XYXYN": "0:0.75:1:0.75",
"VIDEO_URL": "20240113_105758_KJ.mp4",
"CAMERA_LOCATION": "Finish",
"VIDEO_ANALYTICS_START": "False",
"VIDEO_ANALYTICS_RUNNING": "false",
Expand Down

0 comments on commit b6f1a51

Please sign in to comment.