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

Update/ux reloading web pages #111

Merged
merged 14 commits into from
Oct 2, 2023
Merged
Show file tree
Hide file tree
Changes from 13 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 .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ cython_debug/
# Exported from Poetry, used in docker build only
requirements.txt
# Used for file storage in local development only
.persisted/
.persisted*/
# Used for running Streamlit by storing configs and secrets locally
.streamlit/
# Used by GitHub Pages local build before uploading to GitHub
Expand Down
3 changes: 2 additions & 1 deletion misc/docker.env.template
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
STREAMLIT_SERVER_ADDRESS=0.0.0.0
STREAMLIT_SERVER_PORT=8501 #default
DOCQ_DATA=./.persisted/
OPENAI_API_KEY # ideally set value on shell, don't insert a value here becuase it's a secret.
DOCQ_OPENAI_API_KEY # ideally set value on shell, don't insert a value here becuase it's a secret.
DOCQ_COOKIE_HMAC_SECRET_KEY=cookie_password
3 changes: 2 additions & 1 deletion misc/secrets.toml.template
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
DOCQ_DATA = "./.persisted/"
OPENAI_API_KEY = "YOUR-OPENAI-API-KEY"
DOCQ_OPENAI_API_KEY = "YOUR-OPENAI-API-KEY"
DOCQ_COOKIE_HMAC_SECRET_KEY = "32_char_secret_used_to_encrypt"
Loading