-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathset_env_var.sh
32 lines (24 loc) · 1.2 KB
/
set_env_var.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
# !/bin/bash
# Copyright 2020 Google LLC
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT.
# This script sets environment variables that are used throughout the deployment
# PREFIX is a name you choose for your deployment that will be prepended to various
# directories, cloud resources and URLs (for example this could be `mystudies`)
export PREFIX=
# ENV is a label you choose that will be appended to PREFIX in your directories
# and cloud resources (for example this could be `dev`, `test` or `prod`)
export ENV=
# GIT_ROOT is the local path to the root of your cloned FDA MyStudies repository
export GIT_ROOT=
# LOCATION is the loctaion you specified for your deployment in
# deployment.hcl, for example `us-central1`
export LOCATION=
# DOMAIN is the domain you will be using for your URLs (for example,
# `your_company_name.com` or `your_medical_center.edu`)
export DOMAIN=
# ENGINE_CONFIG and MYSTUDIES_TEMPLATE do not need to be changed unless
# you have moved these files within your GitHub repo
export ENGINE_CONFIG=${GIT_ROOT}/deployment/deployment.hcl
export MYSTUDIES_TEMPLATE=${GIT_ROOT}/deployment/mystudies.hcl