ciwatch/run.py
Ramy Asselin bde64a6a1f Allow external access by default
You can disable access to port 5000 via firewall. So let the
default flask setting work outside of localhost.

Original Change-Id: I67b79873c6dfca052becba618f693b754855944d

Change-Id: I392faf8f650353f7a4c1e6df177c4090d77c3b92
2015-10-06 11:58:42 -05:00

19 lines
716 B
Python

# Copyright (c) 2015 Tintri. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import ciwatch
if __name__ == "__main__":
ciwatch.app.run(debug=True, host='0.0.0.0')