Commit 1d98a002 by Chif Gergő
parents 1a821c90 a6b560f3
...@@ -6,9 +6,6 @@ verify_ssl = true ...@@ -6,9 +6,6 @@ verify_ssl = true
[dev-packages] [dev-packages]
[packages] [packages]
aiohttp = "*"
cchardet = "*"
aiodns = "*"
openstacksdk = "*" openstacksdk = "*"
[requires] [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
# This file is for testing the openstack api access
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