Merge "Add WSGI file"
This commit is contained in:
commit
ff156545f5
@ -61,7 +61,7 @@ Refstack Quickstart
|
||||
- At the minimum the value of the `connection` field in the `[database]`
|
||||
section should be updated. For example, if the backend database is MySQL
|
||||
then update: `#connection = <None>` to
|
||||
`connection = mysql://refstack:<your password>@x.x.x.x/refstack`
|
||||
`connection = mysql+pymysql://refstack:<your password>@x.x.x.x/refstack`
|
||||
|
||||
####Database sync
|
||||
|
||||
|
19
refstack/api/app.wsgi
Normal file
19
refstack/api/app.wsgi
Normal file
@ -0,0 +1,19 @@
|
||||
# Copyright (c) 2015 Mirantis, Inc.
|
||||
# All Rights Reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from refstack.api import app
|
||||
from refstack.api import config as api_config
|
||||
|
||||
application = app.setup_app(api_config)
|
@ -10,3 +10,4 @@ pyOpenSSL==0.13
|
||||
pycrypto>=2.6
|
||||
requests==1.2.3
|
||||
jsonschema>=2.0.0,<3.0.0
|
||||
PyMySQL>=0.6.2,!=0.6.4
|
Loading…
x
Reference in New Issue
Block a user