Source

raa / raa-web

#!/usr/bin/env python

#
# Copyright (c) 2006 rPath, Inc.
# All rights reserved
#

import pkg_resources
pkg_resources.require("TurboGears")

import cherrypy
import turbogears
import os
from os.path import *
import sys, urllib

import conary.lib.util

from raa.controllers import Root, loadConfig

loadConfig(sys.argv)

cherrypy.root = Root()

cherrypy.root.init()

# Start the server
cherrypy.server.start()