Skip to content
Snippets Groups Projects
.envrc.local.template 1.38 KiB
Newer Older
# template file, copy it to '.envrc.local' and adjust for your personal configuration
# the '.envrc.local' file is to be included by .envrc and can contain personal secrets or configuration so it is NOT TO BE CHECKED IN

# installing correct node version using nodeenv
nodenv install -s $(cat .node-version)
# alternative using nvm
# . ~/.nvm/nvm.sh # load nvm command
# nvm use
backendUrl() {
  LOCAL_ENABLED=$1
  LOCAL=$2
  REMOTE=$3
  if [ "$LOCAL_ENABLED" = "true" ]; then
    echo $LOCAL
  else
    echo $REMOTE
  fi
}

export OKUNA_DOMAIN=http://127.0.0.1:8000
export OKUNA_URL=http://127.0.0.1:8000/graphql
export DONATIONS_API_URL=http://127.0.0.1:8001/graphql
export GOODNEWS_API_URL=http://127.0.0.1:8002/graphql
export GEO_API_URL=http://127.0.0.1:8003/graphql
export VOLUNTEERING_API_URL=http://127.0.0.1:8004/graphql
Gregor Schulz's avatar
Gregor Schulz committed
export EVENTS_API_URL=http://127.0.0.1:8006/graphql
export NOTIFICATIONS_API_URL=http://127.0.0.1:8005/graphql
export TRANSLATION_API_URL=http://127.0.0.1:8089/graphql
export MODERATION_BACKEND_URL=http://127.0.0.1:3001/graphql
export MATRIX_SERVER_BASE_URL=$(backendUrl $LOCAL_BACKEND_CHAT "http://127.0.0.1:8008" "https://development-chat.holi.social")
export REDIS_HOST=localhost
export REDIS_PORT=6380
export VIDEOCALL_URL=https://development.meet.holi.social

export NOVU_API_KEY=
export NOVU_ENVIRONMENT_ID=