@task
@needs('pavelib.prereqs.install_prereqs')
@cmdopts([('settings=', 's', 'Django settings'), ('asset-settings=', 'a', ASSET_SETTINGS_HELP), ('port=', 'p', 'Port'), ('fast', 'f', 'Skip updating assets')])
def lms(options):
 settings = getattr(options, 'settings', DEFAULT_SETTINGS)
 asset_settings = getattr(options, 'asset-settings', settings)
 port = getattr(options, 'port', None)
 fast = getattr(options, 'fast', False)
 run_server('lms', fast=fast, settings=settings, asset_settings=asset_settings, port=port)

@ task @ needs ( 'pavelib.prereqs.install_prereqs' ) @ cmdopts ( [ ( 'settings=' , 's' , 'Django settings' ) , ( 'asset-settings=' , 'a' , ASSET_SETTINGS_HELP ) , ( 'port=' , 'p' , 'Port' ) , ( 'fast' , 'f' , 'Skip updating assets' ) ] ) def lms ( options ) : settings = getattr ( options , 'settings' , DEFAULT_SETTINGS ) asset_settings = getattr ( options , 'asset-settings' , settings ) port = getattr ( options , 'port' , None ) fast = getattr ( options , 'fast' , False ) run_server ( 'lms' , fast = fast , settings = settings , asset_settings = asset_settings , port = port )
run the lms server .