https://github.com/jessielw/blog-flask
A blog created in flask
https://github.com/jessielw/blog-flask
blog flask webserver
Last synced: about 1 year ago
JSON representation
A blog created in flask
- Host: GitHub
- URL: https://github.com/jessielw/blog-flask
- Owner: jessielw
- Created: 2023-01-20T19:43:42.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-25T18:04:17.000Z (over 3 years ago)
- Last Synced: 2025-02-16T23:14:18.179Z (over 1 year ago)
- Topics: blog, flask, webserver
- Language: HTML
- Homepage:
- Size: 2.69 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Blog (Created in Flask)
This is a simple project that's complete with forums and functional to be utilized standalone/docker
Developed by Jessie Wilson (2023)
## Required enviormental variables
`EMAIL_USER` Gmail account setup to send forgot password emails to registered users
`EMAIL_PASSWORD` Gmail account with an "app password"
`FLASK_SECRET_KEY` A secret string of your choosing e.g. "asfasdoiuqwe31234"
## Basic Usage
You can just execute run_app.py to start the webserver in a windows/linux/mac enviorment
## Docker Usage
`https://hub.docker.com/repository/docker/jlw4049/flask_blog/`
You must pass all of the "Required enviormental variables" to your docker.
Additionally if you are hosting this in a subfolder and using a webserver such as gunicorn you must pass an additional variable script_name
`SCRIPT_NAME` pass the base name e.g. "/flask"
You should map port `8000`
Set a path path variable `/config` to where ever you want the images/db to be stored outside of the docker container