Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Eligibility Server from GitHub Container Registry #128

Merged
merged 6 commits into from
Oct 7, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "cal-itp/benefits",
"dockerComposeFile": ["./localhost/docker-compose.yml"],
"service": "dev",
"runServices": ["dev", "docs", "server"],
machikoyasuda marked this conversation as resolved.
Show resolved Hide resolved
"runServices": ["dev", "docs"],
"workspaceFolder": "/home/calitp/app",
"postStartCommand": ["/bin/bash", "bin/init.sh"],
"postAttachCommand": ["/bin/bash", "localhost/bin/init.sh"],
Expand Down
15 changes: 0 additions & 15 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,6 @@
"0.0.0.0:8000"
],
"django": true
},
{
"name": "Flask: Eligibility Verification Server",
"type": "python",
"request": "attach",
"connect": {
"host": "localhost",
"port": 5789
},
"pathMappings": [
{
"localRoot": "${workspaceFolder}/localhost/server",
"remoteRoot": "/usr/src/server"
}
]
}
]
}
21 changes: 0 additions & 21 deletions localhost/data/server.json

This file was deleted.

9 changes: 1 addition & 8 deletions localhost/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,9 @@ services:
- ../:/home/calitp/app:cached

server:
build: ./server
image: eligibility_verification_server:dev
command: python -m debugpy --listen 0.0.0.0:5678 app.py
environment:
- FLASK_APP=app.py
- FLASK_DEBUG=1
- FLASK_ENV=development
image: ghcr.io/cal-itp/eligibility-server:main
ports:
- "5000"
- "5678"
volumes:
machikoyasuda marked this conversation as resolved.
Show resolved Hide resolved
- ./server:/usr/src/server:cached
- ./data:/usr/src/server/data
Expand Down
27 changes: 0 additions & 27 deletions localhost/keys/server.key

This file was deleted.

9 changes: 0 additions & 9 deletions localhost/server/Dockerfile

This file was deleted.

219 changes: 0 additions & 219 deletions localhost/server/app.py

This file was deleted.

5 changes: 0 additions & 5 deletions localhost/server/requirements.txt

This file was deleted.

3 changes: 0 additions & 3 deletions localhost/server/static/tokenize.js

This file was deleted.