Files
blender-cloud/cloud.py

17 lines
389 B
Python
Raw Normal View History

#!/usr/bin/env python
2016-08-10 10:54:23 +02:00
from pillar import PillarServer
2016-09-07 12:29:10 +02:00
from attract import AttractExtension
2016-11-06 18:58:51 +01:00
from flamenco import FlamencoExtension
2016-08-31 11:42:43 +02:00
attract = AttractExtension()
2016-11-06 18:58:51 +01:00
flamenco = FlamencoExtension()
app = PillarServer('.')
2016-08-31 11:42:43 +02:00
app.load_extension(attract, '/attract')
2016-11-06 18:58:51 +01:00
app.load_extension(flamenco, '/flamenco')
app.process_extensions()
if __name__ == '__main__':
2016-08-10 10:54:23 +02:00
app.run('::0', 5001, debug=True)