17 lines
389 B
Python
Executable File
17 lines
389 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
from pillar import PillarServer
|
|
from attract import AttractExtension
|
|
from flamenco import FlamencoExtension
|
|
|
|
attract = AttractExtension()
|
|
flamenco = FlamencoExtension()
|
|
|
|
app = PillarServer('.')
|
|
app.load_extension(attract, '/attract')
|
|
app.load_extension(flamenco, '/flamenco')
|
|
app.process_extensions()
|
|
|
|
if __name__ == '__main__':
|
|
app.run('::0', 5001, debug=True)
|