Entry point for rpc server, view templates, rss feeds of node down times,
[monitor.git] / web / MonitorWeb / start-monitorweb.py
1 #!/usr/bin/python
2 # -*- coding: utf-8 -*-
3 """Start script for the MonitorWeb TurboGears project.
4
5 This script is only needed during development for running from the project
6 directory. When the project is installed, easy_install will create a
7 proper start script.
8 """
9
10 import sys
11 from monitorweb.commands import start, ConfigurationError
12
13 if __name__ == "__main__":
14     try:
15         start()
16     except ConfigurationError, exc:
17         sys.stderr.write(str(exc))
18         sys.exit(1)