update readme, fix webclient install, add wsgi app

Change-Id: I7ce909474b1aac5e59b0a65f7907cc824a7b0a55
This commit is contained in:
Steven Weston 2015-01-01 01:33:20 -08:00
parent 59b14fe68c
commit 297cfd8de3
11 changed files with 26 additions and 9 deletions

View File

@ -1,13 +1,22 @@
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
* pip install --upgrade -r requirements.txt
* 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';
@ -15,8 +24,9 @@ Radar Third Party CI Dashboard for OpenStack
* FLUSH PRIVILEGES;
* radar-db-manage upgrade head
* API
* radar-api
* To run the:
* API
* radar-api
* Update Daemon
* radar-update-daemon
* Update Daemon
* radar-update-daemon

8
radar/api/app.wsgi.py Normal file
View 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()

View File

@ -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

View File

@ -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:

View File

@ -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/

Binary file not shown.

Binary file not shown.

Binary file not shown.