Basic resume site written with Python with Flask, Bootstrap, and a YAML config file. https://jessebot.work
Find a file
2022-10-05 09:05:22 +02:00
config moving to main from master, and bottle to flask 2022-10-05 09:05:22 +02:00
scripts moving to main from master, and bottle to flask 2022-10-05 09:05:22 +02:00
static moving to main from master, and bottle to flask 2022-10-05 09:05:22 +02:00
templates moving to main from master, and bottle to flask 2022-10-05 09:05:22 +02:00
.gitignore moving to main from master, and bottle to flask 2022-10-05 09:05:22 +02:00
adapter.wsgi removing all the css for the defunct gimmick I was pulling... 2017-11-10 07:09:38 +00:00
flask_start.sh adding flask start to speed things up 2022-10-05 08:22:47 +02:00
image_processing.py adding the images process lib 2019-01-13 07:24:25 +00:00
personal_routes.py fixing post and db and removing unused stuff 2019-01-11 07:55:25 +00:00
README.md deprecating :( 2020-07-20 14:43:05 -07:00
requirements.txt moving to main from master, and bottle to flask 2022-10-05 09:05:22 +02:00
routes.py moving to main from master, and bottle to flask 2022-10-05 09:05:22 +02:00

tiny_personal_website

Come checkout the new iteration of this concept here, called Resume as a Service.

This repo is now essentially archived unless anyone would like to play with getting it Python3/Docker compliant.

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 2.7 only.

Under the Hood

  • Bootstrap v4
  • Bottle
  • Google Fonts
  • The Open Source Community <3

Setup

  1. Clone this github repo into your desired webroot.

  2. Install missing libraries if any: pip install -r requirements.txt

  3. You can configure everything (e.g. the webroot absolute path, your photo, quote, etc) by renaming config/config.yaml.sample to config.yaml and replacing all the sample data with your own real data.

  4. The website assumes you're running on a Linux server with apache. I use the mod_wsgi apache module to deliver this content.

  • In config/example_apache_vhost.conf I have an example apache virutal host config. I recommend creating a special user and group for this website to run as.
  • There is also a mandatory config/wsgi.conf you'll need to put in your apache config. You may also need to modify permissions for the socket file if you are running CentOS/RHEL, which will live in /var/run/http.
  1. All changes to HTML, CSS, JS, Python, or your core YAML will require an apache restart - with this specific configuration for the web server portion.