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-08-30 13:52:28 +02:00
|
|
|
from bcloud.attract.extension import AttractExtension
|
|
|
|
|
|
|
|
attract = AttractExtension()
|
2016-07-29 16:29:51 +02:00
|
|
|
|
|
|
|
app = PillarServer('.')
|
2016-08-30 13:52:28 +02:00
|
|
|
app.load_extension(attract, '/attract')
|
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)
|