mirror of
https://github.com/jessebot/tiny_personal_website.git
synced 2025-10-01 01:48:43 +00:00
Basic resume site written with Python with Flask, Bootstrap, and a YAML config file.
https://jessebot.work
config | ||
css | ||
fonts | ||
images | ||
js | ||
views | ||
.gitignore | ||
adapter.wsgi | ||
band_names_db.py | ||
band_names_db_init.py | ||
personal_routes.py | ||
README.md | ||
requirements.txt | ||
web_routes.py |
tiny_personal_website
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
-
Clone this github repo into your desired webroot.
-
Install missing libraries if any:
pip install -r requirements.txt
-
You can configure everything (e.g. the webroot absolute path, your photo, quote, etc) by renaming
config/config.yaml.sample
toconfig.yaml
and replacing all the sample data with your own real data. -
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
.
- 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.
Sample Site
A demo lives at my personal resume site: https://jessebot.io
There's also some fun toys
Those toys are brought to you in part by