Commit 2680afe2 by Belákovics Ádám

Reinit

parent 1247484a
......@@ -6,9 +6,6 @@ verify_ssl = true
[dev-packages]
[packages]
aiohttp = "*"
cchardet = "*"
aiodns = "*"
openstacksdk = "*"
[requires]
......
__version__ = 0.0.1
\ No newline at end of file
from aiohttp import web
from routes import setup_routes
app = web.Application()
setup_routes(app)
web.run_app(app)
\ No newline at end of file
from views import index
def setup_routes(app):
app.router.add_get('/', index)
\ No newline at end of file
from aiohttp import web
async def index(request):
return web.Response(text='Welcome to the RECIRCLE openstack-interface!')
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment