[LNT] r210134 - Updating some files to modernize LNT for server deployment.
Chris Matthews
cmatthews5 at apple.com
Tue Jun 3 16:03:28 PDT 2014
Author: cmatthews
Date: Tue Jun 3 18:03:28 2014
New Revision: 210134
URL: http://llvm.org/viewvc/llvm-project?rev=210134&view=rev
Log:
Updating some files to modernize LNT for server deployment.
Added:
lnt/trunk/Procfile
lnt/trunk/deployment/
lnt/trunk/deployment/app_wrapper.py
lnt/trunk/requirements.txt
Added: lnt/trunk/Procfile
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/Procfile?rev=210134&view=auto
==============================================================================
--- lnt/trunk/Procfile (added)
+++ lnt/trunk/Procfile Tue Jun 3 18:03:28 2014
@@ -0,0 +1 @@
+web: gunicorn deployment.app_wrapper:app
Added: lnt/trunk/deployment/app_wrapper.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/deployment/app_wrapper.py?rev=210134&view=auto
==============================================================================
--- lnt/trunk/deployment/app_wrapper.py (added)
+++ lnt/trunk/deployment/app_wrapper.py Tue Jun 3 18:03:28 2014
@@ -0,0 +1,8 @@
+"""This file is used to launch LNT inside a gunicorn webserver.
+
+This can be used for deploying on the cloud.
+"""
+
+import lnt.server.ui.app
+
+app = lnt.server.ui.app.App.create_standalone('lnt.cfg')
Added: lnt/trunk/requirements.txt
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/requirements.txt?rev=210134&view=auto
==============================================================================
--- lnt/trunk/requirements.txt (added)
+++ lnt/trunk/requirements.txt Tue Jun 3 18:03:28 2014
@@ -0,0 +1,12 @@
+Flask==0.10.1
+Jinja2==2.7.2
+MarkupSafe==0.23
+SQLAlchemy==0.9.4
+Werkzeug==0.9.4
+gunicorn==18.0
+heroku==0.1.4
+itsdangerous==0.24
+psycopg2==2.5.3
+python-dateutil==1.5
+requests==2.3.0
+wsgiref==0.1.2
More information about the llvm-commits
mailing list