Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
# Main file
# Basically it just loads everything
import os, sys
lib_path = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'lib')
sys.path.insert(0, lib_path)
from webapp2 import WSGIApplication, Route
DEBUG = True
app_config = { }
routes = [
Route('/', handler='src.frontend.RootPage'),
Route('/query_one', handler='src.starsdb.QueryOnePage'),
Route('/query_list', handler='src.starsdb.QueryListPage'),
Route('/_admin/build_db', handler='src.admin.DbAdmin:build_db', methods="POST"),
Route('/_admin/', handler='src.admin.MainPage')
]
app = WSGIApplication(routes, config = app_config, debug = DEBUG)