diff options
| author | Mitsuo Tokumori <[email protected]> | 2025-03-08 16:12:44 +0900 |
|---|---|---|
| committer | Mitsuo Tokumori <[email protected]> | 2025-03-08 16:12:44 +0900 |
| commit | 4987626c394ca07c3ded98d9ed7095986553863e (patch) | |
| tree | f32a6e3c9a8bd966a0f192427a115dd4541bc141 | |
| parent | 51163b167cce01af6101438e5e61145ad798f213 (diff) | |
| download | masu-4987626c394ca07c3ded98d9ed7095986553863e.tar.gz masu-4987626c394ca07c3ded98d9ed7095986553863e.tar.bz2 masu-4987626c394ca07c3ded98d9ed7095986553863e.zip | |
Add favicon.ico
| -rw-r--r-- | README | 17 | ||||
| -rw-r--r-- | app/static/favicon.ico | bin | 0 -> 1001 bytes | |||
| -rw-r--r-- | app/templates/index.html | 1 |
3 files changed, 12 insertions, 6 deletions
@@ -6,17 +6,22 @@ Features: simple, tweakable, fast. setup: - git clone <url> - python -m venv .venv - source .venv/bin/activate - pip install -r requirements.txt - python run.py + $ git clone <url> + $ python -m venv .venv + $ source .venv/bin/activate + $ pip install -r requirements.txt + $ python run.py use: http://localhost:5000 reload/tweak in header +dependencies: + + To update the requirements list use + $ pip freeze -r requirements.txt > requirements.txt + hack: Each block is defined by: @@ -27,5 +32,5 @@ hack: deploy: - local: python app.py + local: python run.py server: pip install gunicorn; gunicorn -w 4 app:app diff --git a/app/static/favicon.ico b/app/static/favicon.ico Binary files differnew file mode 100644 index 0000000..aecf115 --- /dev/null +++ b/app/static/favicon.ico diff --git a/app/templates/index.html b/app/templates/index.html index 332b78b..4647619 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -3,6 +3,7 @@ <head> <title>MASU</title> <link rel="stylesheet" href="/static/style.css"> + <link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='favicon.ico') }}"> </head> <body> <header> |
