Skip to content
Snippets Groups Projects
Commit f2d55438 authored by Ryan Melvin's avatar Ryan Melvin
Browse files

no more pure docker deployment options

parent c253174b
No related branches found
No related tags found
No related merge requests found
......@@ -2,14 +2,6 @@
Uses OpenAI API to determine if a research idea is reasonable and novel for the MPOG database. Not affiliated with MPOG in any way.
## Deploy
### Docker
Your OpenAI API key must be in .streamlit/secrets.toml
```
docker build -t streamlit -f deploy/Dockerfile .
docker run -p 8501:8501 streamlit
```
Then navigate in your browser to localhost:8501
### Docker-compose
```
docker-compose up
......
......@@ -13,6 +13,8 @@ import pyodbc
import datetime
import os
# TODO: This is painfully modularizable.
# secrets
def manage_sensitive(name):
secret_fpath = f'/run/secrets/{name}'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment