testdays-web/runapp.py
František Zatloukal 8410499db6 Python 3
2020-03-05 17:12:04 +01:00

33 lines
1.1 KiB
Python

#!/usr/bin/python3
#
# runapp.py - script to facilitate running the testdays app from the CLI
#
# Copyright 2014, Red Hat, Inc
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Authors:
# Josef Skladanka <jskladan@redhat.com>
import os
import testdays
if __name__ == '__main__':
testdays.app.run(
host = testdays.app.config['RUN_HOST'],
port = testdays.app.config['RUN_PORT'],
debug = testdays.app.config['DEBUG'],
)