diff --git a/Dockerfile b/Dockerfile index ae7c666..3e7d588 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,4 +2,4 @@ FROM python:3.10-alpine WORKDIR /app COPY . . RUN pip install -r requirements.txt -CMD ["python","app.py"] \ No newline at end of file +CMD ["gunicorn", "-b", "0.0.0.0:5000", "app:app"] \ No newline at end of file diff --git a/README.md b/README.md index 37fc44d..b455968 100644 --- a/README.md +++ b/README.md @@ -51,10 +51,17 @@ This can be changed by amending the `docker-compose.yml` entry on `line 8` to: ## Version History -### Current Version: 3.0.0 (1 November 2021) +### Current Version: 3.0.1 (3 November 2021) ### Changelog +- Serving the web app using Gunicorn so it can handle multiple requests. +- Added OpenGraph and other social media meta tags to allow for sharing on social media. + +### Past Versions + +#### Version 3.0.0 + - Re-built the quiz to run on the server side rather than on the client. - Built using Python, Flask, Jinja, and html primarily. - Changed the layout to a cleaner, more accessible and modern style using the Bootstrap CSS framework, @@ -62,8 +69,6 @@ This can be changed by amending the `docker-compose.yml` entry on `line 8` to: - Refined the algorithm by which the Joined duplicates another playbook based on the second-highest scoring match rather than selecting a playbook entirely at random. - Dockerised the quiz and hosting it on my web server, serving it via the front-end reverse proxy. -### Past Versions - Because I only started using Git relatively recently, I have not uploaded the code from the older versions onto the repo. The repo starts with version 3. diff --git a/interface/templates/base.html b/interface/templates/base.html index eb901cd..2389dc0 100644 --- a/interface/templates/base.html +++ b/interface/templates/base.html @@ -25,6 +25,7 @@