Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 29 lines (21 sloc) 0.691 kB
#!/usr/bin/env python
# -*- coding: utf-8 -
# This file is part of friendpaste released under Apache License, Version 2.0.
# See the NOTICE for more information.
from werkzeug import script
def make_friendpaste():
from friendpaste.application import FriendpasteApp
return FriendpasteApp()
def shell_init_func():
from friendpaste import settings
friendpaste = make_friendpaste()
return locals()
def setup():
from friendpaste.utils import install
action_runserver = script.make_runserver(make_friendpaste, use_reloader=True)
action_shell = script.make_shell(shell_init_func)
action_setup = setup
if __name__ == '__main__':
Jump to Line
Something went wrong with that request. Please try again.