My Personal Website
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
apps
blog_templates
code/kalman-filter
config
deploy
pages
posts
scripts
static
templates
.dockerignore
.gitattributes
.gitignore
.gitmodules
Dockerfile
README.md
app.py
blog.py
constraints.txt
requirements.txt

README.md

SpontaneousSymmetry

My Personal Website

Written in python using Flask

Hosted on EC2 using Docker, uwsgi, and nginx

Available at: spontaneoussymmetry.com

Setting up and maintaining the site

This site is designed to run in a Docker container. The container is created using a Dockerfile. Once built, the container exposes port 80 and 443. To deploy this page, simply bind a server's port's 80 and 443 to the container's ports. Additionally, one may copy SSL certifiates into thie container before running to enable TLS access (see the build script for details).

Internally, the Dockerfile runs nginx to handle incoming requests. Static pages and assets are served directly by nginx, and dynamic pages are served using uwsgi and flask.

The blog is powered by a custom blog framework written for this site. Posts are written in Markdown and rendered using Jinja.