change to test uwsgi test.
This commit is contained in:
parent
de34f02926
commit
8bf5049123
|
@ -18,3 +18,4 @@ def deploy():
|
|||
with cd('/var/www/refstack'):
|
||||
run('git checkout master')
|
||||
run('git pull')
|
||||
run('uwsgi --reload /tmp/project-master_refstack.pid')
|
|
@ -4,12 +4,14 @@
|
|||
<title>RefStack: What is it?</title>
|
||||
</head>
|
||||
<body>
|
||||
<title>Hello from Flask</title>
|
||||
<title>Welcome to Refstack</title>
|
||||
{% if name %}
|
||||
<h1>Hello {{ name }}!</h1>
|
||||
{% else %}
|
||||
<h1>Hello World!</h1>
|
||||
{% endif %}
|
||||
|
||||
<h1>What is Refstack?</h1>
|
||||
Who knows.
|
||||
</body>
|
||||
</html>
|
|
@ -21,11 +21,4 @@ app.debug = True
|
|||
|
||||
@app.route('/', methods=['POST','GET'])
|
||||
def index():
|
||||
return render_template('index.html')
|
||||
|
||||
#
|
||||
# resource = WSGIResource(reactor, reactor.getThreadPool(), app)
|
||||
# site = Site(resource)
|
||||
# app.listeningPort = reactor.listenTCP(PORT, site)
|
||||
#
|
||||
# reactor.run()
|
||||
return render_template('index.html')
|
Loading…
Reference in New Issue