Public | Automated Build

Last pushed: 2 years ago
Short Description
Environment to run the flask website
Full Description

Background

This is an incomplete flask website regarding to the The CodeSnipp Project requirement #2.

I try to take a few crash course on Flask+Nginx+uWSGI to have an overview initially.
I found I have no time(or incapable) to craft all the stuff from scratch even with this simple project. There are a lot of detail to learn.
So I decide to found something similar others have done.
It has user login capability, blog capability and even database.

What I need to do is:

  1. Replace the OpenID login with username/password login (w/ admin only).
  2. Add the second feature in Req #2

I plan to replace the OpenID authenticate with this traditional one.
I stuck because I cannot understand how flask-login handle the session.

Thanks for your time.

Steps to setup my website

docker run --net="host" --rm --privileged=true --name=${USER} \
--name=$USER-Site-`date +%s` \
-i -t chin33z/site  /bin/bash
cd microblog
./run.py

The image is created from this Dockerfile.
After running up. The site can be seen at http://YOUR_HOST_IP:4321

Docker Pull Command
Owner
chin33z
Source Repository