Spaces:
Runtime error
Runtime error
Delete streamlit.yaml
Browse files- streamlit.yaml +0 -87
streamlit.yaml
DELETED
|
@@ -1,87 +0,0 @@
|
|
| 1 |
-
server:
|
| 2 |
-
port: 5555
|
| 3 |
-
host: 127.0.0.1
|
| 4 |
-
debug: true
|
| 5 |
-
threaded: true
|
| 6 |
-
processes: 4
|
| 7 |
-
use_reloader: false
|
| 8 |
-
static_url_path: /static
|
| 9 |
-
static_folder: static
|
| 10 |
-
template_folder: templates
|
| 11 |
-
secret_key: "my_secret_key"
|
| 12 |
-
|
| 13 |
-
# Database configuration
|
| 14 |
-
database:
|
| 15 |
-
db_name: my_db
|
| 16 |
-
db_user: my_user
|
| 17 |
-
db_password: my_password
|
| 18 |
-
db_host: 127.0.0.1
|
| 19 |
-
db_port: 5432
|
| 20 |
-
|
| 21 |
-
# Email configuration
|
| 22 |
-
email:
|
| 23 |
-
server: smtp.gmail.com
|
| 24 |
-
port: 587
|
| 25 |
-
username: [email protected]
|
| 26 |
-
password: my_email_password
|
| 27 |
-
use_tls: true
|
| 28 |
-
|
| 29 |
-
# Authentication configuration
|
| 30 |
-
authentication:
|
| 31 |
-
login_url: /login
|
| 32 |
-
logout_url: /logout
|
| 33 |
-
login_manager:
|
| 34 |
-
login_view: 'login'
|
| 35 |
-
login_message: 'Please log in to access this page.'
|
| 36 |
-
login_message_category: 'info'
|
| 37 |
-
user_loader: 'load_user'
|
| 38 |
-
user_manager:
|
| 39 |
-
user_loader: 'load_user'
|
| 40 |
-
user_model: 'User'
|
| 41 |
-
|
| 42 |
-
# Routing configuration
|
| 43 |
-
routing:
|
| 44 |
-
routes:
|
| 45 |
-
- name: home
|
| 46 |
-
path: /
|
| 47 |
-
endpoint: index
|
| 48 |
-
- name: login
|
| 49 |
-
path: /login
|
| 50 |
-
endpoint: login
|
| 51 |
-
- name: logout
|
| 52 |
-
path: /logout
|
| 53 |
-
endpoint: logout
|
| 54 |
-
- name: user
|
| 55 |
-
path: /user
|
| 56 |
-
endpoint: user
|
| 57 |
-
- name: admin
|
| 58 |
-
path: /admin
|
| 59 |
-
endpoint: admin
|
| 60 |
-
|
| 61 |
-
# Template configuration
|
| 62 |
-
templates:
|
| 63 |
-
index:
|
| 64 |
-
template: index.html
|
| 65 |
-
context:
|
| 66 |
-
title: 'My Streamlit App'
|
| 67 |
-
text: 'Welcome to my Streamlit app!'
|
| 68 |
-
login:
|
| 69 |
-
template: login.html
|
| 70 |
-
context:
|
| 71 |
-
title: 'Log in'
|
| 72 |
-
text: 'Please log in to access this page.'
|
| 73 |
-
logout:
|
| 74 |
-
template: logout.html
|
| 75 |
-
context:
|
| 76 |
-
title: 'Log out'
|
| 77 |
-
text: 'You have been logged out.'
|
| 78 |
-
user:
|
| 79 |
-
template: user.html
|
| 80 |
-
context:
|
| 81 |
-
title: 'User'
|
| 82 |
-
text: 'This is the user page.'
|
| 83 |
-
admin:
|
| 84 |
-
template: admin.html
|
| 85 |
-
context:
|
| 86 |
-
title: 'Admin'
|
| 87 |
-
text: 'This is the admin page.'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|