murano-docs/windc/tools/with_venv.sh
Georgy Okrokvertskhov 8994ffcab1 1. Fixed issue with main file start ./bin/windc-api
2. Added router to Route /datacenters/ and /services/ URLs
3. Added stubs for windc/core/api.
4. Fixed start-up process for service
-------------------------------------------------
Now it is working service which will reply for
curl http://localhost:8181/tenant_id/datacenters/
curl http://localhost:8181/tenant_id/datacenters/dc_id/services
curl http://localhost:8181/tenant_id/datacenters/dc_id/services/service_id
2013-02-11 14:13:20 -08:00

5 lines
85 B
Bash
Executable File

#!/bin/bash
TOOLS=`dirname $0`
VENV=$TOOLS/../.venv
source $VENV/bin/activate && $@