update readme, fix webclient install, add wsgi app
Change-Id: I7ce909474b1aac5e59b0a65f7907cc824a7b0a55
This commit is contained in:
parent
59b14fe68c
commit
297cfd8de3
12
README.md
12
README.md
@ -1,7 +1,7 @@
|
||||
Radar Third Party CI Dashboard for OpenStack
|
||||
=====================
|
||||
|
||||
* Application Installation
|
||||
* Radar API Installation
|
||||
* apt-get install libpq-dev libmysqlclient-dev
|
||||
* apt-get install mysql-server
|
||||
* apt-get install rabbitmq-server
|
||||
@ -9,12 +9,22 @@ Radar Third Party CI Dashboard for OpenStack
|
||||
* python setup.py build
|
||||
* python setup.py install
|
||||
|
||||
* Nodejs setup
|
||||
* curl -sL https://deb.nodesource.com/setup | sudo bash -
|
||||
* apt-get install -y nodejs
|
||||
* npm install -g grunt-cli
|
||||
* npm install -g bower
|
||||
* npm install
|
||||
* bower install
|
||||
* grunt
|
||||
|
||||
* Database
|
||||
* CREATE user 'radar'@'localhost' IDENTIFIED BY 'radar';
|
||||
* GRANT ALL PRIVILEGES ON radar.* to 'radar'@'localhost';
|
||||
* FLUSH PRIVILEGES;
|
||||
* radar-db-manage upgrade head
|
||||
|
||||
* To run the:
|
||||
* API
|
||||
* radar-api
|
||||
|
||||
|
8
radar/api/app.wsgi.py
Normal file
8
radar/api/app.wsgi.py
Normal file
@ -0,0 +1,8 @@
|
||||
from radar.api import app
|
||||
from oslo.config import cfg
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
CONF(project='radar')
|
||||
|
||||
application = app.setup_app()
|
@ -1,6 +1,6 @@
|
||||
from datetime import datetime
|
||||
from wsme import types as wtypes
|
||||
from api.v1 import base
|
||||
from radar.api.v1 import base
|
||||
|
||||
class System(base.APIBase):
|
||||
"""Represents the ci systems for the dashboard
|
||||
@ -33,7 +33,6 @@ class User(base.APIBase):
|
||||
email = wtypes.text
|
||||
"""Email Address."""
|
||||
|
||||
# Todo(nkonovalov): use teams to define superusers
|
||||
is_superuser = bool
|
||||
|
||||
last_login = datetime
|
||||
|
@ -145,7 +145,7 @@ class ProcessCISystems():
|
||||
print "operator %s was updated successfully" % theoperator['operator_name']
|
||||
|
||||
def _request_json(self, path, params, headers=None, method="post",
|
||||
status=None, path_prefix="http://10.211.55.29:8080/v1"):
|
||||
status=None, path_prefix="http://localhost/v1"):
|
||||
|
||||
merged_headers = self.default_headers.copy()
|
||||
if headers:
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = radar
|
||||
summary = OpenStack Third Party Dashboard
|
||||
description-file =
|
||||
README.rst
|
||||
README.md
|
||||
author = OpenStack
|
||||
author-email = openstack-dev@lists.openstack.org
|
||||
home-page = http://www.openstack.org/
|
||||
|
BIN
webclient/src/theme/fonts/fontawesome-webfont.eot
Normal file
BIN
webclient/src/theme/fonts/fontawesome-webfont.eot
Normal file
Binary file not shown.
BIN
webclient/src/theme/fonts/fontawesome-webfont.ttf
Normal file
BIN
webclient/src/theme/fonts/fontawesome-webfont.ttf
Normal file
Binary file not shown.
BIN
webclient/src/theme/fonts/fontawesome-webfont.woff
Normal file
BIN
webclient/src/theme/fonts/fontawesome-webfont.woff
Normal file
Binary file not shown.
BIN
webclient/src/theme/fonts/glyphicons-halflings-regular.eot
Normal file
BIN
webclient/src/theme/fonts/glyphicons-halflings-regular.eot
Normal file
Binary file not shown.
BIN
webclient/src/theme/fonts/glyphicons-halflings-regular.ttf
Normal file
BIN
webclient/src/theme/fonts/glyphicons-halflings-regular.ttf
Normal file
Binary file not shown.
BIN
webclient/src/theme/fonts/glyphicons-halflings-regular.woff
Normal file
BIN
webclient/src/theme/fonts/glyphicons-halflings-regular.woff
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user