sul-dlss/argo

View on GitHub
bin/dev

Summary

Maintainability
Test Coverage
#!/usr/bin/env bash

if ! gem list foreman -i --silent; then
  echo "Installing foreman..."
  gem install foreman
fi

# Provide some default values that allow the user to login.
# In a production like environment these are provided by the webserver/Shibboleth/LDAP
REMOTE_USER="${REMOTE_USER:=blalbrit@stanford.edu}"
ROLES="${ROLES:=sdr:administrator-role}"

REMOTE_USER=$REMOTE_USER ROLES=$ROLES foreman start -f Procfile.dev