This repository contains the source code for swrlly.com. The application server is Flask and is a good example for properly using blueprints with subdomains.
If you wish to use subdomains with Flask, make sure you do two things:
- Set
app.config["SERVER_NAME"] = yourwebsite.com
for flask to understand how to properly route subdomains. - In order for flask to bind to
yourwebsite.com
, edit your hosts file by adding the line127.0.0.1 yourwebsite.com
- Remove bootstrap as a dependency
- Design blog format from scratch