-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathactivate_dev_env.sh
executable file
·37 lines (32 loc) · 1.44 KB
/
activate_dev_env.sh
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
35
36
37
#!/bin/bash
add_path () {
export PYTHONPATH="$1:$PYTHONPATH"
}
cwd=`pwd`
add_path "$cwd/atlas/foundations_spec/src" && \
add_path "$cwd/atlas/foundations_events/src" && \
add_path "$cwd/atlas/foundations_internal/src" && \
add_path "$cwd/atlas/foundations_core_cli/src" && \
add_path "$cwd/atlas/foundations_atlas_cli/src" && \
add_path "$cwd/atlas/foundations_contrib/src" && \
add_path "$cwd/atlas/foundations_sdk/src" && \
add_path "$cwd/atlas/foundations_authentication/src" && \
add_path "$cwd/atlas/gcp_utils/src" && \
add_path "$cwd/atlas/aws_utils/src" && \
add_path "$cwd/atlas/foundations_local_docker_scheduler_plugin/src" && \
add_path "$cwd/atlas/foundations_rest_api/src" && \
add_path "$cwd/atlas/foundations_core_rest_api_components/src" && \
export FOUNDATIONS_HOME=${cwd}/devenv/.foundations
export FOUNDATIONS_SCHEDULER_URL="http://localhost:5000"
export REDIS_URL="redis://localhost:5556"
# CYPRESS Environment Variables
UI_FOLDER="foundations_ui"
FIXTURE_FOLDER="atlas_scheduler"
export CYPRESS_LOCAL_FOUNDATIONS_HOME=$FOUNDATIONS_HOME #"${CWD}/${UI_FOLDER}/cypress/fixtures/${FIXTURE_FOLDER}/.foundations" \
export CYPRESS_SCHEDULER_IP="localhost"
export CYPRESS_SCHEDULER_FOUNDATIONS_HOME=$FOUNDATIONS_HOME
export CYPRESS_SCHEDULER_REDIS_PORT="5556"
export CYPRESS_GUI_HOST="localhost"
export CYPRESS_GUI_PORT="3000"
export CYPRESS_REST_API_HOST="localhost"
export CYPRESS_REST_API_PORT="37722"