Fix INF-383 refactor to enrich alarmEventRecord with extension field
[pti/o2.git] / tests / o2app-api-entry.sh
1 #!/bin/sh
2
3 # pip install -e /src
4 # python /o2ims/entrypoints/resource_watcher.py
5
6 mkdir -p /etc/o2
7 cp -r /configs/* /etc/o2/
8 mkdir -p /src/o2common
9 cp -r /o2common/* /src/o2common
10 mkdir -p /src/o2ims
11 cp -r /o2ims/* /src/o2ims
12 mkdir -p /src/o2dms
13 cp -r /o2dms/* /src/o2dms
14 mkdir -p /src/o2app
15 cp -r /o2app/* /src/o2app
16 mkdir -p /src/helm_sdk
17 cp -r /helm_sdk/* /src/helm_sdk
18
19 pip install -e /src
20
21 export FLASK_APP=/o2app/entrypoints/flask_application.py
22 flask run --host=0.0.0.0 --port=80