Skip to content

Commit eddb65c

Browse files
committed
QOL (source those from project root)
1 parent 4c0f5fa commit eddb65c

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

tests/manual/uselocal

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/env bash
2-
cp data/.config-staging data/.config
2+
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
3+
cp $SCRIPT_DIR/data/.config-staging $SCRIPT_DIR/data/.config
34
export API_URL=https://localhost.roboflow.one
45
export APP_URL=https://localhost.roboflow.one
6+
export DEDICATED_DEPLOYMENT_URL=https://staging.roboflow.cloud
7+
export ROBOFLOW_CONFIG_DIR=$SCRIPT_DIR/data/.config
58
# need to set it in /etc/hosts to the IP of host.docker.internal!

tests/manual/useprod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#!/bin/env bash
22

3-
cp data/.config-prod data/.config
3+
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4+
cp $SCRIPT_DIR/data/.config-prod $SCRIPT_DIR/data/.config
45
export API_URL=https://api.roboflow.com
56
export APP_URL=https://app.roboflow.com
67
export OBJECT_DETECTION_URL=https://detect.roboflow.one
78
export DEDICATED_DEPLOYMENT_URL=https://roboflow.cloud
9+
export ROBOFLOW_CONFIG_DIR=$SCRIPT_DIR/data/.config

tests/manual/usestaging

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#!/bin/env bash
22

3-
cp data/.config-staging data/.config
3+
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4+
cp $SCRIPT_DIR/data/.config-staging $SCRIPT_DIR/data/.config
45
export API_URL=https://api.roboflow.one
56
export APP_URL=https://app.roboflow.one
67
export OBJECT_DETECTION_URL=https://lambda-object-detection.staging.roboflow.com
78
export DEDICATED_DEPLOYMENT_URL=https://staging.roboflow.cloud
9+
export ROBOFLOW_CONFIG_DIR=$SCRIPT_DIR/data/.config

0 commit comments

Comments
 (0)