-
Notifications
You must be signed in to change notification settings - Fork 0
/
sparrow-config.sh
35 lines (23 loc) · 1.04 KB
/
sparrow-config.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
cosmo="${SPARROW_CONFIG_DIR:-${0:h}}"
# This is only necessary if another instance of `sparrow`
# is the default on your system.
#export SPARROW_PATH="$cosmo/Sparrow"
export SPARROW_SECRET_KEY="OrangeTree2019222"
export MAPBOX_API_TOKEN="pk.eyJ1IjoiZGF2ZW5xdWlubiIsImEiOiJjanZ1eWwxMjAwNmRvM3lzNTNqN2d0OHdzIn0.kmDqABs8gHCaihj8UdnQKg"
export SPARROW_LAB_NAME="Cosmogenic Nuclides Lab"
export COMPOSE_PROJECT_NAME="UWCosmo"
export SPARROW_DOMAIN="sparrow-cosmo.geoscience.wisc.edu"
pipeline="$cosmo/import_pipeline"
export SPARROW_DATA_DIR="$cosmo/test-data"
# For now, we keep importer in main repository
export SPARROW_COMMANDS="$pipeline/bin"
export SPARROW_INIT_SQL="$pipeline/sql"
# Sparrow node-side plugins
export SPARROW_SITE_CONTENT="$cosmo/site-content"
# A python module that contains Sparrow Python-side plugins
export SPARROW_PLUGIN_DIR="$cosmo/backend-plugins"
export SPARROW_BACKUP_DIR="$PROJECT_DIR/backups"
export SPARROW_TASK_WORKER=1
if [ -f "$cosmo/sparrow-config.overrides.sh" ]; then
source "$cosmo/sparrow-config.overrides.sh"
fi