commit 7f101b61fb52ea1a972be1a66542092ff6c59227
parent 709adec1018a8cf29d5e3725f8e69388f4879ff3
Author: Oshgnacknak <jrenk@oshgnacknak.de>
Date: Sun, 4 Aug 2019 10:03:12 -0400
update README
Diffstat:
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
@@ -4,7 +4,7 @@ This webapp is for for the 'Stadtmeisterschaft' players
list and the singup form written in python/flask.
-## How to Run
+## Run
```
# Clone this repository
@@ -25,5 +25,16 @@ pyhton run.py
## Docker
```
-docker run --rm -p 5000:5000 -e SECRET_KEY=secret -e SQLALCHEMY_DATABASE_URI='sqlite:///:memory:' --name name smtl
+# Build from Github
+docker build https://github.com/Oshgnacknak/SMTL -t smtl
+
+# Run exposing ports
+# Set secret key, port and database uri here
+docker run -d \
+ -p 80:80 \
+ -e PORT=80 \
+ -e SECRET_KEY=secret \
+ -e SQLALCHEMY_DATABASE_URI='sqlite:///:memory:' \
+ --name name \
+ smtl
```
diff --git a/requirements.txt b/requirements.txt
@@ -1,5 +1,6 @@
flask>=1.1.1
wtforms
+flask_wtf
flask-sqlalchemy
flask_caching
pymysql