aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README17
-rw-r--r--app/static/favicon.icobin0 -> 1001 bytes
-rw-r--r--app/templates/index.html1
3 files changed, 12 insertions, 6 deletions
diff --git a/README b/README
index e4f195b..ad44e6c 100644
--- a/README
+++ b/README
@@ -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
new file mode 100644
index 0000000..aecf115
--- /dev/null
+++ b/app/static/favicon.ico
Binary files differ
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>