blob: b3bb91427472337245bed30571bec47c03288c3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
Introduction:
=============
This document provides the required steps for running the
heat validation rest service in a development environment.
If you only want to run it, go to distribution directory.
Installation steps:
====================
Install following software:
- python 3.4 or latest
Configuration steps:
====================
you can override the defaults settings (declared in default_settings.py)
if needed by pointing the env variable ICE_SETTINGS to a file
with the appropriate values :
``$ export ICE_SETTINGS='/path/to/my/production/settings.py'``
How to run?
===========
- In command console, cd to directory where this service is installed
- use virtualenv if needed
- ``$ pip install -r requirements.txt``
- check that everything is ok by running unit tests : ``$ tox``
- ``$ cd heat_test``
- ``$ python app.py``
- Once service is started, check the following url: http://127.0.0.1:5000/onapapi/ice/v1/ui
you should see a "pong" response in the browser.
Debug/development Mode
==========
debug mode is activated by default
in debug mode, the swagger ui is available on http://127.0.0.1:5000/onapapi/ice/v1/ui
|