microblog/runp-mysql.fcgi

12 lines
213 B
Python
Executable File

#!flask/bin/python
import os
# use mysql
os.environ['DATABASE_URL'] = 'mysql://apps:apps@localhost/apps'
from flipflop import WSGIServer
from app import app
if __name__ == '__main__':
WSGIServer(app).run()