2016-07-29 16:29:51 +02:00
|
|
|
#!/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()
|
2016-07-29 16:29:51 +02:00
|
|
|
|
|
|
|
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')
|
2016-07-29 16:29:51 +02:00
|
|
|
app.process_extensions()
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
2016-08-10 10:54:23 +02:00
|
|
|
app.run('::0', 5001, debug=True)
|