This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script inspired by and derived from Proximo (https://github.com/pirateradio/proximo-stacklet) | |
# Usage ./qgoverride rails s | |
if [ "${QUOTAGUARDSTATIC_URL}" == "" ]; then | |
echo "No QUOTAGUARDSTATIC_URL env variable found. Have you installed QuotaGuard Static?" | |
echo "If using Heroku:" | |
echo " heroku addons:add QuotaGuardstatic:test" | |
echo "If using another platform sign-up at quotaguard.com and follow documentation to manually set variable" | |
exit 2 |