Skip to content

swrlly/swrlly.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swrlly.com

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:

  1. Set app.config["SERVER_NAME"] = yourwebsite.com for flask to understand how to properly route subdomains.
  2. In order for flask to bind to yourwebsite.com, edit your hosts file by adding the line 127.0.0.1 yourwebsite.com

todo

  • Remove bootstrap as a dependency
  • Design blog format from scratch