cv_blog_flask: A CV/Blog content management system written in Python3 and Flask
Author: Bertrand Caron
What this is
The project comes battery-included with a Makefile.
make serve to download the required
pip packages and run the flask server locally.
This will also copy a bunch of example data files to
Edit those to update your CV and restart the web server to update those changes.
Also edit the config in
config/config.yml to change the parameters of the CV and blog.
Once this is working, you can look into getting a web server (I provide an Nginx configuration file in
nginx.conf) to serve your Flask application.
You WILL need to update all the paths in there, and obtain SSL certificate (I use Let's Encrypt's
certbot) to get it to work over HTTPS.
uwsgi as my gateway interface, I included the UWSGI config I used (
uwsgi.ini) as well as an example
systemd service (
data/: Contains the CV and blog
data/posts: Contains blog posts
static/: Contains assets (images, style sheets, etc.)
application.py: Main Flask app
templates/: Contains all the views (Jinja2 templates)
helpers/: Contains the rest of the code
config/: Contains the config
config/config.yml: Contains the main config