remove adapter for apache since we don't use that anymore and update the flask start to be accurate, change routes to app

This commit is contained in:
JesseBot 2022-10-05 14:38:57 +02:00
parent 99fbe3bd7c
commit 17ebf7881d
4 changed files with 17 additions and 15 deletions

View file

@ -7,6 +7,22 @@ This is a Python based CMS for a small personal website. The back end uses
the bottle web framework and the front end is bootstrap. YAML is used for site
specific configurations. Tested with Python 3.10.7 only.
I originally wrote this 7 or 8 years ago, and recently absolutely borked my
newer website, resulting in me quickly resurrecting this thing in about a
day. It's... fine. It's not terrrible.
Here's the guide I used for digital ocean:
https://docs.digitalocean.com/tutorials/app-deploy-flask-app/
You want the following command plugged into where-ever this runs:
```bash
gunicorn --worker-tmp-dir /dev/shm app:app
```
### Coming Soon
better docker file
Under the Hood
--------------
* Bootstrap v5