From 31deecc1a1851cd2c5c8255eaf789f6c55449f32 Mon Sep 17 00:00:00 2001 From: cdiep Date: Fri, 29 May 2015 12:28:48 -0700 Subject: [PATCH] Update to use pip install instead of python setup.py install. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We notice recently that 'python setup.py install' does not install the packages defined in the requirements.txt file. Based on the https://bugs.launchpad.net/pbr/+bug/1341341 discussion that 'python setup.py install' is not supported in the OpenStack ecosystem, README file is updated to ‘use pip install . ‘ as recommended. Change-Id: I8067f2f6040a46fec3ffa3d3bc9994409604b4f4 --- doc/refstack.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/refstack.md b/doc/refstack.md index 15eb38d0..9e63c7f2 100755 --- a/doc/refstack.md +++ b/doc/refstack.md @@ -50,7 +50,7 @@ Refstack Quickstart ####Install Refstack application (on ubuntu 14.x).. -- `python setup.py install` +- `pip install .` ####Configuration file preparation @@ -76,7 +76,7 @@ Refstack Quickstart - `test_results_url` - Updated to your API server address. For example: + Updated to your API server address. For example: `test_results_url = http://192.168.56.104:8000/output.html?test_id=%s` ####Database sync @@ -95,7 +95,7 @@ Refstack Quickstart `refstack-manage --config-file /path/to/refstack.conf version` - Now it should be `42278d6179b9`. + Now it should be `42278d6179b9`. ####Start Refstack @@ -107,7 +107,6 @@ gunicorn: Now available: -- `http://localhost:8000/` with JSON response {'Root': 'OK'}; - `http://localhost:8000/v1/results` with response JSON including records consisted of ``, `` and `` of the test runs. The default response is limited to one page of the most recent uploaded test run records. The number of records per page is configurable via the Refstack configuration file. Filtering parameters such as page, start_date, end_date ... can also be used to specify the desired records. For example: get `http://localhost:8000/v1/results?page=n` will return page n of the data. - `http://localhost:8000/v1/results/` with response JSON including the detail test results of the specified ``